Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.002534/0.002534, allocations: 84.06 kB / 19.44 MB, free: 336 kB / 13.93 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.003126/0.003126, allocations: 169.3 kB / 22.76 MB, free: 1.656 MB / 18.57 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.671/1.671, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.329/1.329, allocations: 154.6 MB / 414.1 MB, free: 0.6562 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.5196 GB, free: 2.602 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.719e-05/3.926e-05, allocations: 3.188 kB / 0.5196 GB, free: 2.598 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.003796/0.003835, allocations: 1.282 MB / 0.5209 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004366/0.008201, allocations: 2.595 MB / 0.5234 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.008232, allocations: 1.188 kB / 0.5234 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.00825, allocations: 3.938 kB / 0.5234 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.428e-05/0.008305, allocations: 3.938 kB / 0.5234 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006453/0.00895, allocations: 137.7 kB / 0.5235 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.761e-05/0.009047, allocations: 35.86 kB / 0.5236 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.009084, allocations: 0 / 0.5236 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.506e-05/0.009159, allocations: 28.7 kB / 0.5236 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.402e-05/0.009233, allocations: 19.97 kB / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.009248, allocations: 0.6875 kB / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.009544, allocations: 106.9 kB / 0.5237 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.009565, allocations: 11.98 kB / 0.5237 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.009593, allocations: 7.938 kB / 0.5237 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.009843, allocations: 87.77 kB / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.009847, allocations: 0 / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.288e-06/0.009851, allocations: 3.984 kB / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.009858, allocations: 0 / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005644/0.01042, allocations: 380.1 kB / 0.5242 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.01046, allocations: 8.031 kB / 0.5242 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.01073, allocations: 29.53 kB / 0.5242 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.01085, allocations: 109.2 kB / 0.5243 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.01087, allocations: 4.375 kB / 0.5243 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.01089, allocations: 5.312 kB / 0.5243 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.01115, allocations: 162.3 kB / 0.5245 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.01116, allocations: 1.781 kB / 0.5245 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.01117, allocations: 4.125 kB / 0.5245 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.01118, allocations: 0 / 0.5245 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.135e-05/0.01123, allocations: 15.92 kB / 0.5245 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.012, allocations: 0.522 MB / 0.525 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.01219, allocations: 97.2 kB / 0.5251 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.01224, allocations: 29.19 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.01225, allocations: 7.938 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.0123, allocations: 41.33 kB / 0.5252 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 3.827e-06/0.0123, allocations: 7.984 kB / 0.5252 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0006997/0.013, allocations: 242.9 kB / 0.5254 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.01308, allocations: 107.4 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.01321, allocations: 157.9 kB / 0.5257 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.01323, allocations: 30.36 kB / 0.5257 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/0.01332, allocations: 134.8 kB / 0.5258 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.01336, allocations: 33.36 kB / 0.5259 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.01342, allocations: 35.36 kB / 0.5259 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002692/0.01368, allocations: 496.1 kB / 0.5264 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.068e-05/0.01372, allocations: 11.98 kB / 0.5264 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.0138, allocations: 76.86 kB / 0.5265 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.01393, allocations: 89.94 kB / 0.5265 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01393, allocations: 0 / 0.5265 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000161/0.01409, allocations: 103.5 kB / 0.5266 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.0141, allocations: 4 kB / 0.5266 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01411, allocations: 0 / 0.5266 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.01413, allocations: 4 kB / 0.5266 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.01421, allocations: 23.98 kB / 0.5267 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.01422, allocations: 8.875 kB / 0.5267 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.502e-05/0.01426, allocations: 0 / 0.5267 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.01427, allocations: 4.719 kB / 0.5267 GB, free: 11 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 0.0001257/0.01439, allocations: 161.2 kB / 0.5268 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.01445, allocations: 11.89 kB / 0.5268 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.0145, allocations: 23.05 kB / 0.5269 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.0145, allocations: 0 / 0.5269 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.0145, allocations: 0 / 0.5269 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.0145, allocations: 0.6094 kB / 0.5269 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.01482, allocations: 128.6 kB / 0.527 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01482, allocations: 4 kB / 0.527 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.962e-05/0.01491, allocations: 23.86 kB / 0.527 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01492, allocations: 0 / 0.527 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.01493, allocations: 4 kB / 0.527 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01493, allocations: 3.125 kB / 0.527 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01493, allocations: 0 / 0.527 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.01533, allocations: 478.2 kB / 0.5275 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.01536, allocations: 11.97 kB / 0.5275 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.01538, allocations: 7.938 kB / 0.5275 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.01553, allocations: 4 kB / 0.5275 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.01555, allocations: 3.984 kB / 0.5275 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.01556, allocations: 4 kB / 0.5275 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.487e-05/0.01564, allocations: 129 kB / 0.5276 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01564, allocations: 0 / 0.5276 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002948/0.01593, allocations: 12 kB / 0.5276 GB, free: 9.953 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001714/0.0161, allocations: 120.9 kB / 0.5278 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.01625, allocations: 51.61 kB / 0.5278 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01625, allocations: 0 / 0.5278 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.541e-05/0.01629, allocations: 31.61 kB / 0.5278 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.01671, allocations: 16.78 kB / 0.5279 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/0.01734, allocations: 274.5 kB / 0.5281 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.839e-05/0.01744, allocations: 75.27 kB / 0.5282 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.648e-05/0.01749, allocations: 7.438 kB / 0.5282 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.01752, allocations: 12.5 kB / 0.5282 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.01752, allocations: 0.625 kB / 0.5282 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of Templates: time 0.003812/0.02133, allocations: 0.6786 MB / 0.5289 GB, free: 8.766 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.297623737948015]