Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0009947/0.0009945, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001038/0.001038, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.0004302/0.0004303, allocations: 8 kB / 278.9 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2672, allocations: 47.59 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04429/0.3116, allocations: 36.37 MB / 362.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.3143, allocations: 1.923 MB / 364.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003917/0.3148, allocations: 7.875 kB / 364.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006727/0.3155, allocations: 127.3 kB / 364.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009706/0.3165, allocations: 298.4 kB / 365.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007314/0.3172, allocations: 219.6 kB / 365.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.3185, allocations: 1.059 MB / 366.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.3187, allocations: 68.69 kB / 366.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1342/0.4529, allocations: 73.12 MB / 439.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007841/0.4538, allocations: 271 kB / 439.9 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-05/0.4539, allocations: 12 kB / 440 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.4542, allocations: 27.98 kB / 440 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.4543, allocations: 67.72 kB / 440 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.4545, allocations: 89.58 kB / 440.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.455, allocations: 327.1 kB / 440.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.455, allocations: 0 / 440.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.455, allocations: 4 kB / 440.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.455, allocations: 0 / 440.5 MB, free: 1.418 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.0009713/0.456, allocations: 0.5262 MB / 441 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4561, allocations: 8.031 kB / 441 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003151/0.4564, allocations: 39.7 kB / 441 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.4568, allocations: 274.5 kB / 441.3 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.4568, allocations: 20.56 kB / 441.3 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.4569, allocations: 27.98 kB / 441.3 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.4574, allocations: 295.7 kB / 441.6 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.4574, allocations: 0 / 441.6 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.4575, allocations: 15.98 kB / 441.6 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.4575, allocations: 19.92 kB / 441.7 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.4579, allocations: 189.6 kB / 441.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.4596, allocations: 1.44 MB / 443.3 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.46, allocations: 179.1 kB / 443.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.4602, allocations: 85.22 kB / 443.6 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.4602, allocations: 4.172 kB / 443.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.4602, allocations: 38.75 kB / 443.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.254e-06/0.4603, allocations: 0 / 443.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002733/0.463, allocations: 1.005 MB / 444.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.4631, allocations: 55.41 kB / 444.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.4634, allocations: 258.5 kB / 444.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.4634, allocations: 33.7 kB / 444.9 MB, free: 12.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.4636, allocations: 176.2 kB / 445.1 MB, free: 12.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.4636, allocations: 98.64 kB / 445.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.4637, allocations: 4 kB / 445.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4638, allocations: 342.8 kB / 445.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.4639, allocations: 83.75 kB / 445.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.4641, allocations: 174.9 kB / 445.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.4643, allocations: 115.9 kB / 445.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4644, allocations: 0 / 445.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006814/0.465, allocations: 386.7 kB / 446.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.4651, allocations: 8 kB / 446.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.4651, allocations: 8 kB / 446.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/0.4654, allocations: 66.05 kB / 446.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.4657, allocations: 67.91 kB / 446.4 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.4681, allocations: 2.67 MB / 449.1 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.4684, allocations: 27.92 kB / 449.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.4684, allocations: 8 kB / 449.1 MB, free: 8.039 MB / 382.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.0002076/0.4686, allocations: 165.7 kB / 449.3 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.4687, allocations: 27.72 kB / 449.3 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.459e-05/0.4688, allocations: 34.12 kB / 449.4 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4688, allocations: 4 kB / 449.4 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4688, allocations: 0 / 449.4 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006708/0.4695, allocations: 0.5669 MB / 449.9 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.4706, allocations: 0.7066 MB / 450.6 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.4707, allocations: 7.984 kB / 450.6 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.4709, allocations: 39.98 kB / 450.7 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.4712, allocations: 68.88 kB / 450.8 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.4712, allocations: 4 kB / 450.8 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.4725, allocations: 1.382 MB / 452.1 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4725, allocations: 3.938 kB / 452.1 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007457/0.4733, allocations: 477 kB / 452.6 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.644e-05/0.4734, allocations: 109 kB / 452.7 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.4734, allocations: 4 kB / 452.7 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.4737, allocations: 11.91 kB / 452.7 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.4737, allocations: 23.91 kB / 452.8 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.4737, allocations: 15.98 kB / 452.8 MB, free: 4.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.4739, allocations: 181.9 kB / 452.9 MB, free: 3.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4739, allocations: 0 / 452.9 MB, free: 3.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004374/0.4744, allocations: 96 kB / 453 MB, free: 3.801 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.0001793/0.4746, allocations: 107.2 kB / 453.1 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007815/0.4754, allocations: 458.1 kB / 453.6 MB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.4754, allocations: 11.98 kB / 453.6 MB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.4758, allocations: 234.5 kB / 453.8 MB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/0.4767, allocations: 160.5 kB / 454 MB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.4782, allocations: 0.827 MB / 454.8 MB, free: 1.949 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.4786, allocations: 0.7606 MB / 455.6 MB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003274/0.4789, allocations: 54.92 kB / 455.6 MB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.479, allocations: 23.44 kB / 455.7 MB, free: 1.09 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.479, allocations: 0 / 455.7 MB, free: 1.09 MB / 382.1 MB Notification: Performance of Templates: time 0.2015/0.6804, allocations: 5.27 MB / 460.9 MB, free: 122.9 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)