Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 118 kB / 17.84 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 203.8 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 230.6 MB / 254.2 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9883/0.9883, allocations: 150 MB / 460.2 MB, free: 5.289 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 72.5 kB / 0.6369 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1867, allocations: 89.12 MB / 0.7239 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00194/0.1887, allocations: 0.5952 MB / 0.7245 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004727/0.1891, allocations: 159.9 kB / 0.7246 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.1892, allocations: 0 / 0.7246 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.1892, allocations: 0 / 0.7246 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.276e-05/0.1892, allocations: 4 kB / 0.7246 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.1896, allocations: 43.83 kB / 0.7247 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.174e-05/0.1896, allocations: 15.98 kB / 0.7247 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.1897, allocations: 4 kB / 0.7247 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.423e-05/0.1897, allocations: 11.94 kB / 0.7247 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/0.1898, allocations: 11.97 kB / 0.7247 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1898, allocations: 0 / 0.7247 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1899, allocations: 31.97 kB / 0.7247 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.1899, allocations: 3.938 kB / 0.7247 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.1899, allocations: 11.98 kB / 0.7248 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.19, allocations: 32.11 kB / 0.7248 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.19, allocations: 0 / 0.7248 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.637e-06/0.19, allocations: 8 kB / 0.7248 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.19, allocations: 0 / 0.7248 GB, free: 3.074 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005414/0.1906, allocations: 335.3 kB / 0.7251 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.1906, allocations: 12.03 kB / 0.7251 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.421e-05/0.1907, allocations: 192 / 0.7251 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.1907, allocations: 38.73 kB / 0.7252 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.1907, allocations: 0.9375 kB / 0.7252 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1909, allocations: 164.4 kB / 0.7253 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1909, allocations: 12.3 kB / 0.7253 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.1909, allocations: 4.375 kB / 0.7253 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1911, allocations: 42 kB / 0.7254 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1911, allocations: 4 kB / 0.7254 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1911, allocations: 4 kB / 0.7254 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1911, allocations: 0 / 0.7254 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.165e-05/0.1911, allocations: 11.98 kB / 0.7254 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.1913, allocations: 157.7 kB / 0.7255 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.1915, allocations: 46.5 kB / 0.7256 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.1915, allocations: 20.98 kB / 0.7256 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.1916, allocations: 85.09 kB / 0.7257 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.1917, allocations: 34.5 kB / 0.7257 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1917, allocations: 0 / 0.7257 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.001451/0.1931, allocations: 488.1 kB / 0.7262 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.1932, allocations: 55.41 kB / 0.7262 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.1932, allocations: 97.84 kB / 0.7263 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1933, allocations: 25.7 kB / 0.7264 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.1933, allocations: 80.14 kB / 0.7264 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.1934, allocations: 27.75 kB / 0.7265 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.1934, allocations: 25.64 kB / 0.7265 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1935, allocations: 314.8 kB / 0.7268 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/0.1936, allocations: 12 kB / 0.7268 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/0.1936, allocations: 16.11 kB / 0.7268 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.38e-05/0.1937, allocations: 37.08 kB / 0.7269 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1937, allocations: 4 kB / 0.7269 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001363/0.1938, allocations: 73.61 kB / 0.7269 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1938, allocations: 7.984 kB / 0.7269 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1938, allocations: 0 / 0.7269 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1939, allocations: 3.938 kB / 0.7269 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.1939, allocations: 15.94 kB / 0.727 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.194, allocations: 0 / 0.727 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.765e-05/0.194, allocations: 4 kB / 0.727 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.194, allocations: 4.438 kB / 0.727 GB, free: 0.5312 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.786e-05/0.1941, allocations: 113.8 kB / 0.7271 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.1941, allocations: 11.88 kB / 0.7271 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.1943, allocations: 81.64 kB / 0.7272 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1943, allocations: 3.938 kB / 0.7272 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1943, allocations: 4 kB / 0.7272 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1943, allocations: 0 / 0.7272 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.1945, allocations: 161.7 kB / 0.7273 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1945, allocations: 7.938 kB / 0.7273 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.736e-05/0.1946, allocations: 15.98 kB / 0.7273 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1946, allocations: 0 / 0.7273 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1946, allocations: 8 kB / 0.7274 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1946, allocations: 0 / 0.7274 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1946, allocations: 0 / 0.7274 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1948, allocations: 109 kB / 0.7275 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.1949, allocations: 88.94 kB / 0.7275 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1949, allocations: 12.08 kB / 0.7276 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.684e-05/0.1949, allocations: 4 kB / 0.7276 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.1949, allocations: 7.984 kB / 0.7276 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1949, allocations: 0 / 0.7276 GB, free: 15.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.195, allocations: 79.28 kB / 0.7276 GB, free: 15.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.195, allocations: 0 / 0.7276 GB, free: 15.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002439/0.1952, allocations: 35.92 kB / 0.7277 GB, free: 15.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006397/0.1959, allocations: 0.6749 MB / 0.7283 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.196, allocations: 39.97 kB / 0.7284 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.196, allocations: 0 / 0.7284 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.513e-05/0.1961, allocations: 23.94 kB / 0.7284 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.1962, allocations: 0 / 0.7284 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.1975, allocations: 1.208 MB / 0.7296 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1978, allocations: 0.6846 MB / 0.7302 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.356e-05/0.1978, allocations: 4 kB / 0.7302 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.1979, allocations: 11.44 kB / 0.7303 GB, free: 12.91 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.1979, allocations: 0 / 0.7303 GB, free: 12.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.2188, allocations: 1.878 MB / 0.7321 GB, free: 11.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.552, allocations: 10.31 kB / 0.7321 GB, free: 11.2 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.543187968956772] Failed to read output from testmodel.py, exit status != 0: 8.678186403005384 8.694456389 8.50139353 Calling exit ...