Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007798/0.007798, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001551/0.001551, allocations: 192 kB / 16.67 MB, free: 5.973 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.584/1.584, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001316/0.001316, allocations: 58.97 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09474, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01468/0.1095, allocations: 12.86 MB / 386.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1119, allocations: 1.701 MB / 387.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.1122, allocations: 4 kB / 387.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005979/0.1128, allocations: 170.9 kB / 388 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007654/0.1136, allocations: 314.2 kB / 388.3 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.1147, allocations: 399.1 kB / 388.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.1158, allocations: 0.829 MB / 389.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.116, allocations: 100.7 kB / 389.6 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008091/0.1168, allocations: 394.6 kB / 390 MB, free: 480 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004651/0.1173, allocations: 263 kB / 390.2 MB, free: 216 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.182e-05/0.1174, allocations: 28 kB / 390.2 MB, free: 188 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.1178, allocations: 103.8 kB / 390.3 MB, free: 84 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.1179, allocations: 91.8 kB / 390.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.1182, allocations: 183.2 kB / 390.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006616/0.1188, allocations: 474.3 kB / 391.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1188, allocations: 0 / 391.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1189, allocations: 0 / 391.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.1189, allocations: 0 / 391.1 MB, free: 15.35 MB / 334.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.0009566/0.1198, allocations: 0.5884 MB / 391.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1199, allocations: 11.89 kB / 391.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.1202, allocations: 48.73 kB / 391.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.1207, allocations: 295.8 kB / 392 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.1208, allocations: 16.94 kB / 392 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.1208, allocations: 28.31 kB / 392.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.1213, allocations: 325.5 kB / 392.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.1214, allocations: 3.938 kB / 392.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.1214, allocations: 12 kB / 392.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1214, allocations: 8 kB / 392.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.1218, allocations: 201.5 kB / 392.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.1236, allocations: 1.728 MB / 394.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.1239, allocations: 134.6 kB / 394.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.124, allocations: 68.78 kB / 394.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.1242, allocations: 170.2 kB / 394.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1242, allocations: 34.56 kB / 394.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.1242, allocations: 0 / 394.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001785/0.126, allocations: 0.7977 MB / 395.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.1261, allocations: 59.41 kB / 395.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.1264, allocations: 286.5 kB / 395.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1264, allocations: 29.7 kB / 395.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.1265, allocations: 196 kB / 396.1 MB, free: 9.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.1266, allocations: 87.31 kB / 396.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/0.1267, allocations: 61.7 kB / 396.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1268, allocations: 334.8 kB / 396.6 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.127, allocations: 67.97 kB / 396.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.1272, allocations: 191.2 kB / 396.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.1275, allocations: 283.2 kB / 397.1 MB, free: 8.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1276, allocations: 4 kB / 397.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005023/0.1281, allocations: 334.4 kB / 397.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1281, allocations: 8 kB / 397.4 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1281, allocations: 8.031 kB / 397.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.1282, allocations: 28.78 kB / 397.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.1286, allocations: 83.83 kB / 397.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.1298, allocations: 1.386 MB / 398.9 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.13, allocations: 12 kB / 398.9 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.1301, allocations: 23.98 kB / 399 MB, free: 6.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.1302, allocations: 161.5 kB / 399.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.1303, allocations: 31.95 kB / 399.1 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.1307, allocations: 204.7 kB / 399.3 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1307, allocations: 0 / 399.3 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1307, allocations: 7.938 kB / 399.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003763/0.1311, allocations: 483.7 kB / 399.8 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.1322, allocations: 0.7761 MB / 400.6 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1322, allocations: 4 kB / 400.6 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.1324, allocations: 43.91 kB / 400.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.1324, allocations: 4 kB / 400.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1324, allocations: 16.22 kB / 400.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.1324, allocations: 7.938 kB / 400.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1324, allocations: 4 kB / 400.7 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.1329, allocations: 399.6 kB / 401.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.133, allocations: 112.8 kB / 401.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.133, allocations: 8 kB / 401.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.1332, allocations: 11.94 kB / 401.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.1333, allocations: 24.03 kB / 401.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.1333, allocations: 15.98 kB / 401.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.1335, allocations: 201.9 kB / 401.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1335, allocations: 0 / 401.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004411/0.134, allocations: 95.94 kB / 401.5 MB, free: 3.902 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (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 (21): * Single equations (assignments): 21 * 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.000267/0.1342, allocations: 147 kB / 401.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004829/0.1347, allocations: 298.4 kB / 402 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1347, allocations: 0 / 402 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1349, allocations: 73.17 kB / 402 MB, free: 3.375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000907/0.1358, allocations: 169.1 kB / 402.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1368, allocations: 0.6286 MB / 402.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1372, allocations: 0.76 MB / 403.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.1375, allocations: 67.19 kB / 403.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.1376, allocations: 27.44 kB / 403.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1376, allocations: 0 / 403.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of Templates: time 0.01114/0.1487, allocations: 5.645 MB / 409.3 MB, free: 11.99 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)