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.002039/0.002039, allocations: 111.8 kB / 16.63 MB, free: 6.953 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.002023/0.002023, allocations: 193.8 kB / 17.55 MB, free: 6.043 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.324/1.324, allocations: 205.1 MB / 223.4 MB, free: 12.38 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.00187/0.00187, allocations: 48.16 kB / 279.5 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09052/0.09241, allocations: 46.63 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005849/0.09831, allocations: 4.509 MB / 330.6 MB, free: 260 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.1004, allocations: 1.81 MB / 332.4 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.1005, allocations: 0 / 332.4 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.1009, allocations: 35.81 kB / 332.5 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.1012, allocations: 107.3 kB / 332.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.1019, allocations: 231.5 kB / 332.8 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.1022, allocations: 286.9 kB / 333.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.1022, allocations: 20.88 kB / 333.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.1025, allocations: 139.5 kB / 333.2 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1026, allocations: 91.59 kB / 333.3 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.1027, allocations: 8 kB / 333.3 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.1029, allocations: 91.94 kB / 333.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.825e-05/0.103, allocations: 39.83 kB / 333.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.459e-05/0.1031, allocations: 75.72 kB / 333.5 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.1033, allocations: 211.6 kB / 333.7 MB, free: 13.12 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1034, allocations: 4 kB / 333.8 MB, free: 13.12 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1034, allocations: 0 / 333.8 MB, free: 13.12 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1034, allocations: 0 / 333.8 MB, free: 13.12 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.00092/0.1043, allocations: 487.3 kB / 334.2 MB, free: 12.6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1043, allocations: 12.03 kB / 334.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.1045, allocations: 24.73 kB / 334.3 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1047, allocations: 204.1 kB / 334.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1048, allocations: 12.66 kB / 334.5 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.1048, allocations: 12.38 kB / 334.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.1052, allocations: 220.8 kB / 334.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1053, allocations: 0 / 334.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.1053, allocations: 4 kB / 334.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1053, allocations: 4 kB / 334.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.1057, allocations: 155.8 kB / 334.9 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.1069, allocations: 0.944 MB / 335.8 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.1073, allocations: 146.7 kB / 335.9 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1075, allocations: 60.83 kB / 336 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005103/0.108, allocations: 0.507 MB / 336.5 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.108, allocations: 34.56 kB / 336.5 MB, free: 10.05 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.108, allocations: 0 / 336.5 MB, free: 10.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002524/0.1106, allocations: 0.7786 MB / 337.3 MB, free: 9.223 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.1106, allocations: 51.41 kB / 337.4 MB, free: 9.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.1107, allocations: 150.4 kB / 337.5 MB, free: 9.004 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1108, allocations: 29.7 kB / 337.6 MB, free: 8.969 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.1109, allocations: 139.8 kB / 337.7 MB, free: 8.828 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.1109, allocations: 74.94 kB / 337.8 MB, free: 8.754 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/0.111, allocations: 61.69 kB / 337.8 MB, free: 8.688 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.1111, allocations: 326.8 kB / 338.1 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.1114, allocations: 75.94 kB / 338.2 MB, free: 8.285 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.1117, allocations: 201.1 kB / 338.4 MB, free: 8.039 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.1122, allocations: 302.1 kB / 338.7 MB, free: 7.695 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1122, allocations: 0 / 338.7 MB, free: 7.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006683/0.1129, allocations: 317.2 kB / 339 MB, free: 7.379 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1129, allocations: 8 kB / 339 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.113, allocations: 4 kB / 339 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.113, allocations: 7.938 kB / 339 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.1134, allocations: 83.83 kB / 339.1 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1134, allocations: 4 kB / 339.1 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.1136, allocations: 24.27 kB / 339.1 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.1137, allocations: 15.98 kB / 339.2 MB, free: 7.234 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.0001281/0.1138, allocations: 141.6 kB / 339.3 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.1139, allocations: 19.75 kB / 339.3 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006584/0.1145, allocations: 242.8 kB / 339.6 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1145, allocations: 4 kB / 339.6 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1146, allocations: 0 / 339.6 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1146, allocations: 3.984 kB / 339.6 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.1158, allocations: 0.5951 MB / 340.2 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1158, allocations: 0 / 340.2 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.1161, allocations: 59.89 kB / 340.2 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1162, allocations: 128 / 340.2 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.1162, allocations: 11.98 kB / 340.2 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1162, allocations: 3.938 kB / 340.2 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.1162, allocations: 4 kB / 340.2 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008086/0.117, allocations: 406.6 kB / 340.6 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.1171, allocations: 88.92 kB / 340.7 MB, free: 5.547 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.1171, allocations: 15.92 kB / 340.7 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.1174, allocations: 12.05 kB / 340.7 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.1174, allocations: 15.98 kB / 340.8 MB, free: 5.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.1174, allocations: 8 kB / 340.8 MB, free: 5.496 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.881e-05/0.1175, allocations: 107.2 kB / 340.9 MB, free: 5.391 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1175, allocations: 0 / 340.9 MB, free: 5.391 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003735/0.1179, allocations: 60 kB / 340.9 MB, free: 5.332 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.0002751/0.1182, allocations: 139.1 kB / 341.1 MB, free: 5.184 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000605/0.1188, allocations: 228.1 kB / 341.3 MB, free: 4.961 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1188, allocations: 0 / 341.3 MB, free: 4.961 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.1191, allocations: 91.88 kB / 341.4 MB, free: 4.871 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.1195, allocations: 36.59 kB / 341.4 MB, free: 4.836 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.1205, allocations: 0.5114 MB / 341.9 MB, free: 4.285 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.1208, allocations: 0.7205 MB / 342.7 MB, free: 3.539 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003174/0.1211, allocations: 53.88 kB / 342.7 MB, free: 3.484 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.79e-05/0.1212, allocations: 27.36 kB / 342.7 MB, free: 3.457 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1212, allocations: 0 / 342.7 MB, free: 3.457 MB / 286.1 MB Notification: Performance of Templates: time 0.00597/0.1272, allocations: 2.674 MB / 345.4 MB, free: 0.7852 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)