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.00112/0.00112, allocations: 101.6 kB / 16.5 MB, free: 6.688 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.001046/0.001046, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.321/1.321, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001216/0.001216, allocations: 47.94 kB / 279.3 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.09966, allocations: 46.64 MB / 325.9 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005753/0.1055, allocations: 4.501 MB / 330.5 MB, free: 376 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.1074, allocations: 1.818 MB / 332.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.1075, allocations: 4 kB / 332.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.1078, allocations: 31.8 kB / 332.3 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.1082, allocations: 119.3 kB / 332.4 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.1088, allocations: 235.4 kB / 332.7 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.1092, allocations: 362.8 kB / 333 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.166e-05/0.1093, allocations: 24.86 kB / 333 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.1095, allocations: 123.5 kB / 333.1 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1097, allocations: 83.61 kB / 333.2 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.1097, allocations: 8 kB / 333.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.11, allocations: 107.8 kB / 333.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.1101, allocations: 31.91 kB / 333.4 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.708e-05/0.1102, allocations: 75.7 kB / 333.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.1105, allocations: 207.7 kB / 333.7 MB, free: 13.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1105, allocations: 0 / 333.7 MB, free: 13.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1105, allocations: 0 / 333.7 MB, free: 13.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1105, allocations: 0 / 333.7 MB, free: 13.16 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.001008/0.1115, allocations: 491.4 kB / 334.1 MB, free: 12.63 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1116, allocations: 12.03 kB / 334.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.1118, allocations: 24.73 kB / 334.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.112, allocations: 204.1 kB / 334.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1121, allocations: 12.66 kB / 334.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.1121, allocations: 12.38 kB / 334.4 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.1125, allocations: 220.8 kB / 334.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1125, allocations: 0 / 334.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.1126, allocations: 8 kB / 334.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1126, allocations: 4 kB / 334.6 MB, free: 12.08 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.113, allocations: 147.8 kB / 334.8 MB, free: 11.94 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.1143, allocations: 0.9441 MB / 335.7 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.1147, allocations: 146.7 kB / 335.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.1149, allocations: 56.83 kB / 335.9 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005454/0.1154, allocations: 0.5109 MB / 336.4 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1155, allocations: 30.56 kB / 336.4 MB, free: 10.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.113e-06/0.1155, allocations: 3.938 kB / 336.5 MB, free: 10.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002539/0.118, allocations: 0.7751 MB / 337.2 MB, free: 9.262 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.1181, allocations: 51.41 kB / 337.3 MB, free: 9.199 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.1182, allocations: 150.4 kB / 337.4 MB, free: 9.043 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.1182, allocations: 29.7 kB / 337.5 MB, free: 9.008 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.1183, allocations: 139.8 kB / 337.6 MB, free: 8.867 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.1184, allocations: 78.92 kB / 337.7 MB, free: 8.789 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.772e-05/0.1185, allocations: 57.7 kB / 337.7 MB, free: 8.727 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1186, allocations: 322.8 kB / 338 MB, free: 8.402 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.1189, allocations: 87.94 kB / 338.1 MB, free: 8.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.1192, allocations: 197.1 kB / 338.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005662/0.1198, allocations: 286.2 kB / 338.6 MB, free: 7.746 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1198, allocations: 4 kB / 338.6 MB, free: 7.742 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000673/0.1205, allocations: 328.8 kB / 338.9 MB, free: 7.414 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1205, allocations: 8.469 kB / 338.9 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1205, allocations: 7.984 kB / 338.9 MB, free: 7.398 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1205, allocations: 8 kB / 338.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.1209, allocations: 79.89 kB / 339 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1209, allocations: 4 kB / 339 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.1212, allocations: 19.98 kB / 339 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.1212, allocations: 16 kB / 339.1 MB, free: 7.273 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.0001343/0.1214, allocations: 153.6 kB / 339.2 MB, free: 7.113 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.1214, allocations: 15.81 kB / 339.2 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000649/0.1221, allocations: 230.6 kB / 339.5 MB, free: 6.871 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1221, allocations: 7.984 kB / 339.5 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1221, allocations: 0 / 339.5 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1221, allocations: 0 / 339.5 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.1234, allocations: 0.5991 MB / 340.1 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1234, allocations: 0 / 340.1 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.1237, allocations: 55.89 kB / 340.1 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1238, allocations: 4 kB / 340.1 MB, free: 6.137 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.1238, allocations: 8 kB / 340.1 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1238, allocations: 3.938 kB / 340.1 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1238, allocations: 7.984 kB / 340.1 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008237/0.1246, allocations: 406.7 kB / 340.5 MB, free: 5.691 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.1247, allocations: 88.92 kB / 340.6 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.1247, allocations: 7.938 kB / 340.6 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.125, allocations: 15.98 kB / 340.6 MB, free: 5.562 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.125, allocations: 11.98 kB / 340.7 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.1251, allocations: 15.98 kB / 340.7 MB, free: 5.535 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.902e-05/0.1251, allocations: 115.2 kB / 340.8 MB, free: 5.422 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.1252, allocations: 0 / 340.8 MB, free: 5.422 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003831/0.1255, allocations: 67.94 kB / 340.8 MB, free: 5.355 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.0003233/0.1259, allocations: 123.2 kB / 341 MB, free: 5.223 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005817/0.1265, allocations: 223.6 kB / 341.2 MB, free: 5.004 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1265, allocations: 0.9375 kB / 341.2 MB, free: 5.004 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.1267, allocations: 100.1 kB / 341.3 MB, free: 4.906 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.1271, allocations: 27.98 kB / 341.3 MB, free: 4.879 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.1282, allocations: 0.5159 MB / 341.8 MB, free: 4.324 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1285, allocations: 0.7167 MB / 342.5 MB, free: 3.582 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002706/0.1288, allocations: 45.94 kB / 342.6 MB, free: 3.535 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.1289, allocations: 27.36 kB / 342.6 MB, free: 3.508 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1289, allocations: 0 / 342.6 MB, free: 3.508 MB / 286.1 MB Notification: Performance of Templates: time 0.005748/0.1347, allocations: 2.584 MB / 345.2 MB, free: 0.9258 MB / 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)