Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.0007997/0.0007997, allocations: 96.38 kB / 19.7 MB, free: 448 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.0008057/0.0008057, allocations: 211.8 kB / 23 MB, free: 2.977 MB / 13.93 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 0.9118/0.9118, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7214/0.7214, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 660] "Notification: IDEAS 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.0007597/0.0007597, allocations: 69.75 kB / 0.7194 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.528, allocations: 102 MB / 0.8191 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004542/0.5325, allocations: 3.907 MB / 0.8229 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.5347, allocations: 2.223 MB / 0.8251 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.5348, allocations: 9.562 kB / 0.8251 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.5352, allocations: 50.08 kB / 0.8251 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.5355, allocations: 96.59 kB / 0.8252 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.537, allocations: 0.5479 MB / 0.8257 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.5373, allocations: 262 kB / 0.826 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.5374, allocations: 15.72 kB / 0.826 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.5376, allocations: 116.2 kB / 0.8261 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.5377, allocations: 90.41 kB / 0.8262 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.5378, allocations: 7.469 kB / 0.8262 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007787/0.5385, allocations: 402.6 kB / 0.8266 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.162e-05/0.5386, allocations: 41.31 kB / 0.8266 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.596e-05/0.5387, allocations: 72.14 kB / 0.8267 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.5393, allocations: 410.6 kB / 0.8271 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5393, allocations: 0 / 0.8271 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5393, allocations: 0 / 0.8271 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.5393, allocations: 4 kB / 0.8271 GB, free: 12.29 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006934/0.54, allocations: 452.2 kB / 0.8275 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.54, allocations: 8.281 kB / 0.8275 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.5412, allocations: 187.3 kB / 0.8277 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.5415, allocations: 153.8 kB / 0.8279 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.5416, allocations: 10.95 kB / 0.8279 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.5416, allocations: 14.72 kB / 0.8279 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005766/0.5422, allocations: 0.5063 MB / 0.8284 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.5422, allocations: 4 kB / 0.8284 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.5422, allocations: 7.406 kB / 0.8284 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.5422, allocations: 6.047 kB / 0.8284 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.5427, allocations: 260.2 kB / 0.8286 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.5439, allocations: 1.159 MB / 0.8298 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.5443, allocations: 194.1 kB / 0.83 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.5445, allocations: 71.11 kB / 0.83 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.5445, allocations: 6.953 kB / 0.83 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.5445, allocations: 33.78 kB / 0.8301 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.853e-06/0.5445, allocations: 0 / 0.8301 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005692/0.5451, allocations: 248.8 kB / 0.8303 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.5451, allocations: 58.47 kB / 0.8304 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.5453, allocations: 147 kB / 0.8305 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.5453, allocations: 31.11 kB / 0.8305 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.5454, allocations: 132.7 kB / 0.8307 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.5454, allocations: 70.28 kB / 0.8307 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.731e-05/0.5455, allocations: 48.48 kB / 0.8308 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.5456, allocations: 322.6 kB / 0.8311 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.5457, allocations: 64.73 kB / 0.8311 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.5459, allocations: 146.2 kB / 0.8313 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.5462, allocations: 223 kB / 0.8315 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5462, allocations: 7.875 kB / 0.8315 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00039/0.5466, allocations: 247 kB / 0.8317 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.5466, allocations: 8.234 kB / 0.8317 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5466, allocations: 3.375 kB / 0.8317 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.5466, allocations: 3.125 kB / 0.8317 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.5469, allocations: 71.64 kB / 0.8318 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.5469, allocations: 8.359 kB / 0.8318 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.547, allocations: 27.67 kB / 0.8319 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.547, allocations: 13.34 kB / 0.8319 GB, free: 8.781 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001118/0.5471, allocations: 134.6 kB / 0.832 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.5472, allocations: 14.91 kB / 0.832 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.5477, allocations: 229.1 kB / 0.8322 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.5477, allocations: 2.984 kB / 0.8322 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.5477, allocations: 4 kB / 0.8322 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.5477, allocations: 1.844 kB / 0.8322 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.5479, allocations: 173 kB / 0.8324 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5479, allocations: 0.5312 kB / 0.8324 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.5481, allocations: 55.94 kB / 0.8325 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5481, allocations: 2.078 kB / 0.8325 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.5481, allocations: 10.52 kB / 0.8325 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.5481, allocations: 1.938 kB / 0.8325 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5481, allocations: 4.625 kB / 0.8325 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.5486, allocations: 293 kB / 0.8328 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/0.5487, allocations: 27.72 kB / 0.8328 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.5487, allocations: 10 kB / 0.8328 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.5488, allocations: 17.3 kB / 0.8328 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.5489, allocations: 10.47 kB / 0.8328 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.5489, allocations: 12.81 kB / 0.8328 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.118e-05/0.5489, allocations: 98.91 kB / 0.8329 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5489, allocations: 0.5 kB / 0.8329 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003385/0.5493, allocations: 68.72 kB / 0.833 GB, free: 8.047 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (20): * Single equations (assignments): 20 * 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.0002059/0.5495, allocations: 138.3 kB / 0.8331 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000374/0.5499, allocations: 172.8 kB / 0.8333 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5499, allocations: 0 / 0.8333 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.55, allocations: 81.2 kB / 0.8334 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.5503, allocations: 49.59 kB / 0.8334 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007753/0.5511, allocations: 440.3 kB / 0.8338 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.372e-05/0.5512, allocations: 104.2 kB / 0.8339 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.5513, allocations: 31.09 kB / 0.834 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of SimCode: time 8.82e-07/0.5513, allocations: 0 / 0.834 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of Templates: time 0.00488/0.5562, allocations: 2.83 MB / 0.8367 GB, free: 7.121 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.684911866206676] Failed to read output from testmodel.py, exit status != 0: 0.562093174085021 0.572130299 0.030813859000000002 Calling exit ...