Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 94.56 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 184 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.4 MB / 223.4 MB, free: 5.555 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.000479, allocations: 8 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2912, allocations: 47.6 MB / 327.7 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.03628/0.3276, allocations: 30.63 MB / 358.4 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.3297, allocations: 1.514 MB / 359.9 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.33, allocations: 3.938 kB / 359.9 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006277/0.3306, allocations: 139.3 kB / 360 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005453/0.3312, allocations: 211.4 kB / 360.2 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007376/0.3319, allocations: 223.5 kB / 360.4 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006065/0.3326, allocations: 467 kB / 360.9 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.3328, allocations: 68.69 kB / 361 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1242/0.457, allocations: 72.1 MB / 433.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.4576, allocations: 159.4 kB / 433.2 MB, free: 9.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.255e-05/0.4576, allocations: 19.94 kB / 433.2 MB, free: 9.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.4578, allocations: 23.98 kB / 433.2 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.4579, allocations: 71.78 kB / 433.3 MB, free: 9.797 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.4581, allocations: 85.58 kB / 433.4 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.4585, allocations: 331.1 kB / 433.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4586, allocations: 0 / 433.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4586, allocations: 0 / 433.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.4586, allocations: 0 / 433.7 MB, free: 9.383 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009796/0.4596, allocations: 0.5223 MB / 434.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.4596, allocations: 8.031 kB / 434.3 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003127/0.4599, allocations: 43.7 kB / 434.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.4604, allocations: 278.4 kB / 434.6 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.4604, allocations: 16.56 kB / 434.6 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.4605, allocations: 24 kB / 434.6 MB, free: 8.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.461, allocations: 303.7 kB / 434.9 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.461, allocations: 0 / 434.9 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.461, allocations: 12 kB / 434.9 MB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.4611, allocations: 4 kB / 434.9 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.4614, allocations: 197.6 kB / 435.1 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.4631, allocations: 1.444 MB / 436.6 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.4634, allocations: 175.2 kB / 436.7 MB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.4635, allocations: 12.17 kB / 436.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.4635, allocations: 30.75 kB / 436.8 MB, free: 6.086 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.4635, allocations: 0 / 436.8 MB, free: 6.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.00279/0.4663, allocations: 1.006 MB / 437.8 MB, free: 5.004 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.4664, allocations: 59.41 kB / 437.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.4667, allocations: 262.5 kB / 438.1 MB, free: 4.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.4668, allocations: 29.7 kB / 438.1 MB, free: 4.633 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.4669, allocations: 176.2 kB / 438.3 MB, free: 4.457 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.607e-05/0.467, allocations: 94.64 kB / 438.4 MB, free: 4.363 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.4671, allocations: 8 kB / 438.4 MB, free: 4.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4672, allocations: 334.8 kB / 438.7 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.4674, allocations: 91.73 kB / 438.8 MB, free: 3.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.4676, allocations: 174.9 kB / 439 MB, free: 3.719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.4678, allocations: 115.9 kB / 439.1 MB, free: 3.605 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4678, allocations: 0 / 439.1 MB, free: 3.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006768/0.4685, allocations: 386.7 kB / 439.5 MB, free: 3.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.4685, allocations: 11.94 kB / 439.5 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.4685, allocations: 4 kB / 439.5 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.4688, allocations: 66.05 kB / 439.6 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.4691, allocations: 63.91 kB / 439.6 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.4715, allocations: 2.689 MB / 442.3 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.4718, allocations: 24.05 kB / 442.3 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.4718, allocations: 12 kB / 442.3 MB, free: 80 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.472, allocations: 157.6 kB / 442.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.4721, allocations: 27.72 kB / 442.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.369e-05/0.4721, allocations: 42.17 kB / 442.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4721, allocations: 4 kB / 442.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4722, allocations: 0 / 442.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006894/0.4729, allocations: 0.5708 MB / 443.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.4739, allocations: 0.7066 MB / 443.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.4739, allocations: 8 kB / 443.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.4741, allocations: 47.91 kB / 443.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002566/0.4744, allocations: 52.8 kB / 443.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.4744, allocations: 7.984 kB / 444 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.4756, allocations: 1.394 MB / 445.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4757, allocations: 4.062 kB / 445.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/0.4764, allocations: 486.5 kB / 445.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.553e-05/0.4765, allocations: 104.8 kB / 445.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.4765, allocations: 11.98 kB / 445.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.4767, allocations: 15.97 kB / 446 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.4768, allocations: 19.92 kB / 446 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.4768, allocations: 12 kB / 446 MB, free: 12.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.477, allocations: 182 kB / 446.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.477, allocations: 0 / 446.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004287/0.4775, allocations: 92 kB / 446.3 MB, free: 11.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001723/0.4776, allocations: 107.2 kB / 446.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008082/0.4785, allocations: 458.6 kB / 446.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4785, allocations: 0 / 446.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.4789, allocations: 242.5 kB / 447 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008737/0.4797, allocations: 152.4 kB / 447.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.481, allocations: 0.8231 MB / 448 MB, free: 9.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.4814, allocations: 0.7723 MB / 448.8 MB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002821/0.4817, allocations: 54.92 kB / 448.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.4818, allocations: 27.38 kB / 448.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4818, allocations: 0 / 448.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of Templates: time 0.009964/0.4917, allocations: 5.25 MB / 454.1 MB, free: 3.855 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) Environment - environmentSimulation: