Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.00104, allocations: 91.5 kB / 16.65 MB, free: 6.578 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.00132/0.00132, allocations: 190.2 kB / 17.57 MB, free: 6.195 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.531/1.531, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0004646/0.0004645, allocations: 8 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09762, allocations: 47.58 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.007218/0.1049, allocations: 4.128 MB / 332.4 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.1078, allocations: 1.791 MB / 334.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.108, allocations: 0 / 334.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.1083, allocations: 35.81 kB / 334.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004822/0.1088, allocations: 115.3 kB / 334.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.1097, allocations: 231.5 kB / 334.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005412/0.1102, allocations: 366.8 kB / 335 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.307e-05/0.1103, allocations: 20.89 kB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.1106, allocations: 123.5 kB / 335.1 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.1108, allocations: 83.67 kB / 335.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.1108, allocations: 8 kB / 335.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.1111, allocations: 91.88 kB / 335.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-05/0.1112, allocations: 39.88 kB / 335.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1114, allocations: 105.3 kB / 335.4 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.1117, allocations: 207.6 kB / 335.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1117, allocations: 0 / 335.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.1118, allocations: 4 kB / 335.6 MB, free: 12.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1118, allocations: 0 / 335.6 MB, free: 12.39 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009548/0.1127, allocations: 447.4 kB / 336.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1128, allocations: 16.02 kB / 336.1 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.113, allocations: 20.75 kB / 336.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1133, allocations: 212.2 kB / 336.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1133, allocations: 12.59 kB / 336.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.1134, allocations: 20.28 kB / 336.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.1138, allocations: 216.8 kB / 336.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.1139, allocations: 0 / 336.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.1139, allocations: 8 kB / 336.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1139, allocations: 4 kB / 336.6 MB, free: 11.35 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/0.1143, allocations: 151.8 kB / 336.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.1158, allocations: 0.9324 MB / 337.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.1162, allocations: 158.6 kB / 337.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.1164, allocations: 56.83 kB / 337.9 MB, free: 9.973 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005655/0.117, allocations: 0.5031 MB / 338.4 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.117, allocations: 38.56 kB / 338.4 MB, free: 9.359 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.117, allocations: 0 / 338.4 MB, free: 9.359 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002557/0.1196, allocations: 0.7592 MB / 339.2 MB, free: 8.547 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.1197, allocations: 59.41 kB / 339.2 MB, free: 8.477 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1198, allocations: 150.3 kB / 339.4 MB, free: 8.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.1198, allocations: 33.7 kB / 339.4 MB, free: 8.281 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.1199, allocations: 135.8 kB / 339.5 MB, free: 8.145 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.12, allocations: 78.92 kB / 339.6 MB, free: 8.066 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.1201, allocations: 33.7 kB / 339.6 MB, free: 8.027 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1202, allocations: 322.8 kB / 340 MB, free: 7.703 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.1205, allocations: 87.94 kB / 340 MB, free: 7.617 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.1208, allocations: 189.2 kB / 340.2 MB, free: 7.383 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.1214, allocations: 298.1 kB / 340.5 MB, free: 7.043 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1214, allocations: 0 / 340.5 MB, free: 7.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006979/0.1221, allocations: 321 kB / 340.8 MB, free: 6.723 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1221, allocations: 8 kB / 340.8 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1222, allocations: 4 kB / 340.8 MB, free: 6.711 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1222, allocations: 4.469 kB / 340.8 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.1225, allocations: 87.81 kB / 340.9 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1226, allocations: 8 kB / 340.9 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.1228, allocations: 15.98 kB / 341 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.1228, allocations: 16 kB / 341 MB, free: 6.582 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.123, allocations: 137.7 kB / 341.1 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.123, allocations: 19.8 kB / 341.1 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006568/0.1237, allocations: 246.7 kB / 341.4 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.1237, allocations: 4 kB / 341.4 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1237, allocations: 3.938 kB / 341.4 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1237, allocations: 0 / 341.4 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.125, allocations: 0.599 MB / 342 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.125, allocations: 4.125 kB / 342 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.1253, allocations: 51.91 kB / 342 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1253, allocations: 0 / 342 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.1253, allocations: 11.98 kB / 342 MB, free: 5.434 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.1253, allocations: 3.938 kB / 342 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1253, allocations: 4 kB / 342 MB, free: 5.426 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008195/0.1262, allocations: 402.6 kB / 342.4 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.1262, allocations: 96.98 kB / 342.5 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.1263, allocations: 7.938 kB / 342.5 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.1265, allocations: 15.98 kB / 342.6 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.1266, allocations: 11.98 kB / 342.6 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.1266, allocations: 15.98 kB / 342.6 MB, free: 4.84 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.283e-05/0.1267, allocations: 103.3 kB / 342.7 MB, free: 4.738 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1267, allocations: 0 / 342.7 MB, free: 4.738 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003848/0.1271, allocations: 71.98 kB / 342.8 MB, free: 4.668 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * 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.0002779/0.1274, allocations: 123.2 kB / 342.9 MB, free: 4.535 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006654/0.128, allocations: 219.6 kB / 343.1 MB, free: 4.32 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.128, allocations: 0 / 343.1 MB, free: 4.32 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.1283, allocations: 96.94 kB / 343.2 MB, free: 4.227 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.1287, allocations: 36.91 kB / 343.2 MB, free: 4.191 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.1299, allocations: 0.5684 MB / 343.8 MB, free: 3.586 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.1304, allocations: 0.7206 MB / 344.5 MB, free: 2.84 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.1307, allocations: 45.92 kB / 344.6 MB, free: 2.793 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/0.1308, allocations: 35.36 kB / 344.6 MB, free: 2.758 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1308, allocations: 0 / 344.6 MB, free: 2.758 MB / 286.1 MB Notification: Performance of Templates: time 0.006435/0.1372, allocations: 2.572 MB / 347.2 MB, free: 192 kB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)