Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.006765/0.006765, allocations: 97.27 kB / 15.73 MB, free: 6.043 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.001403/0.001403, allocations: 194.3 kB / 16.68 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.643/1.643, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.00123/0.00123, allocations: 46.53 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1009, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.0131/0.114, allocations: 12.86 MB / 386.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.1174, allocations: 1.705 MB / 387.8 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004354/0.1179, allocations: 4 kB / 387.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006943/0.1186, allocations: 170.9 kB / 388 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007377/0.1194, allocations: 314.2 kB / 388.3 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1204, allocations: 411.1 kB / 388.7 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008998/0.1213, allocations: 0.8212 MB / 389.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.1216, allocations: 92.69 kB / 389.6 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005927/0.1222, allocations: 394.6 kB / 390 MB, free: 488 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.1225, allocations: 266.9 kB / 390.2 MB, free: 220 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.63e-05/0.1225, allocations: 28 kB / 390.2 MB, free: 192 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.1228, allocations: 99.8 kB / 390.3 MB, free: 92 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.123, allocations: 95.77 kB / 390.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.1232, allocations: 183.2 kB / 390.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005875/0.1238, allocations: 478.3 kB / 391.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1238, allocations: 0 / 391.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1238, allocations: 0 / 391.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.1238, 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.0008206/0.1246, allocations: 0.5845 MB / 391.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1247, allocations: 15.89 kB / 391.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002968/0.125, allocations: 44.73 kB / 391.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.1255, allocations: 295.8 kB / 392 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.1255, allocations: 24.92 kB / 392 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.1256, allocations: 24.38 kB / 392.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.1261, allocations: 317.5 kB / 392.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1261, allocations: 11.94 kB / 392.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.1261, allocations: 12 kB / 392.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.1262, allocations: 4 kB / 392.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.1265, allocations: 201.5 kB / 392.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.1284, allocations: 1.728 MB / 394.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.1287, allocations: 138.6 kB / 394.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.1288, allocations: 68.78 kB / 394.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.129, allocations: 166.2 kB / 394.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.1291, allocations: 38.56 kB / 394.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.1291, allocations: 0 / 394.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001816/0.1309, allocations: 0.7932 MB / 395.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.1309, allocations: 63.34 kB / 395.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.1313, allocations: 282.5 kB / 395.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.1313, allocations: 33.7 kB / 395.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1315, allocations: 200 kB / 396.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.1315, allocations: 75.33 kB / 396.2 MB, free: 9.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.1316, allocations: 61.7 kB / 396.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1318, allocations: 338.8 kB / 396.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.1319, allocations: 67.97 kB / 396.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.1323, allocations: 191.2 kB / 396.8 MB, free: 9.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/0.1327, allocations: 283.2 kB / 397.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1327, allocations: 0 / 397.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000488/0.1332, allocations: 334.4 kB / 397.4 MB, free: 8.449 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1332, allocations: 8 kB / 397.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.1333, allocations: 8.031 kB / 397.4 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.1334, allocations: 28.78 kB / 397.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.1337, allocations: 87.83 kB / 397.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.1348, allocations: 1.386 MB / 398.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.135, allocations: 12 kB / 398.9 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.1351, allocations: 15.98 kB / 399 MB, free: 6.762 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.0001773/0.1352, allocations: 161.6 kB / 399.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.1353, allocations: 31.95 kB / 399.1 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.1357, allocations: 209.2 kB / 399.3 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1357, allocations: 4 kB / 399.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.1357, allocations: 0 / 399.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005009/0.1362, allocations: 487.7 kB / 399.8 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.1374, allocations: 0.7761 MB / 400.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1375, allocations: 7.938 kB / 400.6 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.1377, allocations: 43.97 kB / 400.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1377, allocations: 7.938 kB / 400.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.1377, allocations: 16.22 kB / 400.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.1377, allocations: 7.938 kB / 400.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1377, allocations: 0 / 400.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.1383, allocations: 403.6 kB / 401.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/0.1384, allocations: 112.9 kB / 401.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.1384, allocations: 8 kB / 401.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.1386, allocations: 8 kB / 401.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.1387, allocations: 23.97 kB / 401.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.1387, allocations: 15.98 kB / 401.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.1389, allocations: 205.9 kB / 401.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.139, allocations: 0 / 401.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005209/0.1395, 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.0003273/0.1398, allocations: 143 kB / 401.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006595/0.1405, allocations: 302.4 kB / 402 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1405, allocations: 0 / 402 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1406, allocations: 77.23 kB / 402 MB, free: 3.371 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009278/0.1416, allocations: 161.1 kB / 402.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1428, allocations: 0.6324 MB / 402.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.1433, allocations: 0.756 MB / 403.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002309/0.1435, allocations: 59.27 kB / 403.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.1436, allocations: 27.44 kB / 403.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1436, allocations: 3.938 kB / 403.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of Templates: time 0.01095/0.1546, allocations: 5.645 MB / 409.3 MB, free: 12 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)