Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001178/0.001178, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.452/1.452, allocations: 205.1 MB / 222 MB, free: 5.012 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.001275/0.001275, allocations: 47.94 kB / 278.1 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2942, allocations: 46.63 MB / 324.7 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04761/0.3418, allocations: 41.06 MB / 365.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.3447, allocations: 2.047 MB / 367.8 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.345, allocations: 11.94 kB / 367.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000614/0.3456, allocations: 143.3 kB / 368 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005743/0.3462, allocations: 302.4 kB / 368.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.3469, allocations: 263.6 kB / 368.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.3482, allocations: 1.297 MB / 369.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.3484, allocations: 76.61 kB / 369.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1108/0.4592, allocations: 42.96 MB / 412.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006941/0.4599, allocations: 282.9 kB / 413.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.46, allocations: 16 kB / 413.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.4602, allocations: 24 kB / 413.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.4603, allocations: 83.7 kB / 413.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.4606, allocations: 159.3 kB / 413.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.4611, allocations: 426.6 kB / 413.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4611, allocations: 3.938 kB / 413.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.4611, allocations: 0 / 413.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.4611, allocations: 0 / 413.8 MB, free: 10.43 MB / 350.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.00109/0.4622, allocations: 0.5926 MB / 414.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4623, allocations: 8.031 kB / 414.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003039/0.4626, allocations: 40.56 kB / 414.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.463, allocations: 275.8 kB / 414.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.463, allocations: 20.94 kB / 414.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.4631, allocations: 24.38 kB / 414.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.4637, allocations: 303.6 kB / 415.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.4637, allocations: 7.906 kB / 415.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.4638, allocations: 12 kB / 415.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.4638, allocations: 8 kB / 415.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.4641, allocations: 201.5 kB / 415.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.4659, allocations: 1.424 MB / 416.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.4663, allocations: 186.5 kB / 416.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.4664, allocations: 88.83 kB / 417 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.4665, allocations: 4 kB / 417 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.4665, allocations: 30.56 kB / 417 MB, free: 6.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.4665, allocations: 4 kB / 417 MB, free: 6.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.002763/0.4693, allocations: 1.008 MB / 418 MB, free: 5.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.4693, allocations: 55.41 kB / 418.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.4696, allocations: 262.5 kB / 418.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.4696, allocations: 33.64 kB / 418.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.4698, allocations: 172.2 kB / 418.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/0.4698, allocations: 94.72 kB / 418.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.807e-05/0.47, allocations: 69.39 kB / 418.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4701, allocations: 338.8 kB / 419 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.4702, allocations: 91.97 kB / 419.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.4704, allocations: 178.8 kB / 419.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.4708, allocations: 291 kB / 419.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4708, allocations: 3.938 kB / 419.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006517/0.4715, allocations: 378.7 kB / 419.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4715, allocations: 8 kB / 420 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4715, allocations: 0 / 420 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.4718, allocations: 65.67 kB / 420 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.4721, allocations: 67.91 kB / 420.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.4741, allocations: 2.674 MB / 422.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.4744, allocations: 24.08 kB / 422.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.4744, allocations: 16 kB / 422.8 MB, free: 0.6953 MB / 350.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.4746, allocations: 149.7 kB / 422.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.4747, allocations: 31.56 kB / 423 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.94e-05/0.4748, allocations: 42.17 kB / 423 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4748, allocations: 0 / 423 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4748, allocations: 8 kB / 423 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006279/0.4754, allocations: 0.5631 MB / 423.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.4765, allocations: 0.6988 MB / 424.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4765, allocations: 0 / 424.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.4768, allocations: 51.94 kB / 424.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/0.477, allocations: 48.8 kB / 424.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.477, allocations: 8 kB / 424.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.4781, allocations: 1.385 MB / 425.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4781, allocations: 0 / 425.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.4788, allocations: 481 kB / 426.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.4789, allocations: 96.86 kB / 426.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.479, allocations: 8 kB / 426.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.4792, allocations: 19.83 kB / 426.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.4792, allocations: 11.98 kB / 426.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.4793, allocations: 20.05 kB / 426.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.4795, allocations: 186 kB / 426.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4795, allocations: 0 / 426.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004119/0.4799, allocations: 92 kB / 426.7 MB, free: 12.48 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001386/0.48, allocations: 103.2 kB / 426.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007605/0.4808, allocations: 481.9 kB / 427.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4808, allocations: 0 / 427.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.4812, allocations: 234.5 kB / 427.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009727/0.4822, allocations: 161.9 kB / 427.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.4835, allocations: 0.7883 MB / 428.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.4839, allocations: 0.7606 MB / 429.2 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002906/0.4842, allocations: 54.94 kB / 429.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.4843, allocations: 27.44 kB / 429.3 MB, free: 9.797 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4843, allocations: 0 / 429.3 MB, free: 9.797 MB / 366.1 MB Notification: Performance of Templates: time 0.01029/0.4946, allocations: 5.422 MB / 434.7 MB, free: 4.375 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)