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.0009852/0.000985, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001292/0.001292, allocations: 177.3 kB / 15.94 MB, free: 228 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.47/1.47, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.0004998/0.0005, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.256, allocations: 47.59 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.03422/0.2903, allocations: 30.64 MB / 357.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.2922, allocations: 1.511 MB / 358.6 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002486/0.2925, allocations: 3.938 kB / 358.6 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.293, allocations: 147.3 kB / 358.8 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000401/0.2934, allocations: 199.5 kB / 358.9 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.294, allocations: 231.5 kB / 359.2 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.2945, allocations: 459.1 kB / 359.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.2947, allocations: 76.66 kB / 359.7 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1249/0.4197, allocations: 72.08 MB / 431.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005071/0.4202, allocations: 167.3 kB / 431.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.765e-05/0.4203, allocations: 16 kB / 432 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.4206, allocations: 23.98 kB / 432 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.4207, allocations: 71.78 kB / 432.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.4208, allocations: 89.58 kB / 432.1 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.4213, allocations: 319.1 kB / 432.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4213, allocations: 0 / 432.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4213, allocations: 0 / 432.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.4213, allocations: 0 / 432.5 MB, free: 9.387 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.001014/0.4224, allocations: 0.53 MB / 433 MB, free: 8.809 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.4224, allocations: 8.031 kB / 433 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/0.4228, allocations: 43.7 kB / 433 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.4232, allocations: 274.4 kB / 433.3 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.4233, allocations: 16.56 kB / 433.3 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/0.4233, allocations: 31.98 kB / 433.3 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.4239, allocations: 299.6 kB / 433.6 MB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.4239, allocations: 0 / 433.6 MB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.424, allocations: 15.98 kB / 433.7 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.424, allocations: 4 kB / 433.7 MB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.4243, allocations: 197.6 kB / 433.9 MB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.4262, allocations: 1.444 MB / 435.3 MB, free: 6.309 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.4266, allocations: 179.2 kB / 435.5 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.4266, allocations: 8.172 kB / 435.5 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.4266, allocations: 30.75 kB / 435.5 MB, free: 6.078 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.4267, allocations: 0 / 435.5 MB, free: 6.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.002585/0.4292, allocations: 1.002 MB / 436.5 MB, free: 5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.4293, allocations: 63.41 kB / 436.6 MB, free: 4.926 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.4296, allocations: 258.5 kB / 436.8 MB, free: 4.664 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.4296, allocations: 29.7 kB / 436.9 MB, free: 4.629 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.4298, allocations: 180.2 kB / 437 MB, free: 4.449 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.4299, allocations: 90.64 kB / 437.1 MB, free: 4.359 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.4299, allocations: 8 kB / 437.1 MB, free: 4.352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.43, allocations: 334.8 kB / 437.5 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.4302, allocations: 91.73 kB / 437.5 MB, free: 3.926 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.4304, allocations: 178.9 kB / 437.7 MB, free: 3.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.4306, allocations: 111.9 kB / 437.8 MB, free: 3.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4307, allocations: 0 / 437.8 MB, free: 3.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006993/0.4314, allocations: 390.7 kB / 438.2 MB, free: 3.207 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4314, allocations: 8 kB / 438.2 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.4314, allocations: 4 kB / 438.2 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/0.4317, allocations: 66.05 kB / 438.3 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.432, allocations: 63.91 kB / 438.3 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.4344, allocations: 2.689 MB / 441 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.4347, allocations: 16 kB / 441.1 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.4348, allocations: 19.97 kB / 441.1 MB, free: 76 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.0002076/0.435, allocations: 157.6 kB / 441.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.4351, allocations: 35.78 kB / 441.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.39e-05/0.4352, allocations: 34.17 kB / 441.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4352, allocations: 4 kB / 441.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4352, allocations: 0 / 441.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006583/0.4358, allocations: 0.5708 MB / 441.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.437, allocations: 0.7027 MB / 442.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.437, allocations: 4 kB / 442.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.4372, allocations: 47.92 kB / 442.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002765/0.4375, allocations: 56.78 kB / 442.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.4375, allocations: 16.02 kB / 442.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.4388, allocations: 1.398 MB / 444.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4388, allocations: 0 / 444.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007426/0.4396, allocations: 494.2 kB / 444.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.4397, allocations: 100.8 kB / 444.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.4397, allocations: 12.12 kB / 444.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.44, allocations: 11.91 kB / 444.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.44, allocations: 19.92 kB / 444.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.4401, allocations: 12 kB / 444.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.4402, allocations: 182 kB / 444.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4402, allocations: 0 / 444.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004552/0.4407, allocations: 92 kB / 445 MB, free: 11.81 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.0001443/0.4409, allocations: 107.2 kB / 445.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007787/0.4416, allocations: 458.6 kB / 445.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4417, allocations: 4 kB / 445.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003787/0.4421, allocations: 238.5 kB / 445.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009031/0.443, allocations: 152.4 kB / 445.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.4443, allocations: 0.827 MB / 446.8 MB, free: 9.969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.4448, allocations: 0.7684 MB / 447.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003144/0.4451, allocations: 54.92 kB / 447.6 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.233e-05/0.4452, allocations: 23.44 kB / 447.6 MB, free: 9.102 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4452, allocations: 0 / 447.6 MB, free: 9.102 MB / 382.1 MB Notification: Performance of Templates: time 0.0102/0.4554, allocations: 5.246 MB / 452.9 MB, free: 3.855 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: