Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.01323/0.01323, allocations: 104.2 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.002339/0.002339, allocations: 189.6 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.575/1.575, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001199/0.001199, allocations: 53.64 kB / 326.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1102, allocations: 46.62 MB / 373.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005697/0.1159, allocations: 4.475 MB / 377.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.1179, allocations: 1.814 MB / 379.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.1179, allocations: 4 kB / 379.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.1183, allocations: 47.67 kB / 379.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.1186, allocations: 123.2 kB / 379.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006202/0.1192, allocations: 255.2 kB / 379.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.1196, allocations: 286.9 kB / 380.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.1196, allocations: 9.125 kB / 380.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.1199, allocations: 123.7 kB / 380.3 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.12, allocations: 87.61 kB / 380.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.1201, allocations: 8 kB / 380.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.1203, allocations: 103.9 kB / 380.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.986e-05/0.1204, allocations: 39.88 kB / 380.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.244e-05/0.1205, allocations: 71.67 kB / 380.6 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.1208, allocations: 215.4 kB / 380.8 MB, free: 9.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1208, allocations: 0 / 380.8 MB, free: 9.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1208, allocations: 0 / 380.8 MB, free: 9.773 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.1208, allocations: 0 / 380.8 MB, free: 9.773 MB / 318.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.0009888/0.1218, allocations: 495.3 kB / 381.3 MB, free: 9.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1219, allocations: 8.031 kB / 381.3 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.1221, allocations: 24.75 kB / 381.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.1223, allocations: 208.2 kB / 381.5 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1224, allocations: 8.656 kB / 381.5 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.1224, allocations: 12.38 kB / 381.5 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.1228, allocations: 220.8 kB / 381.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1229, allocations: 0 / 381.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.1229, allocations: 8 kB / 381.7 MB, free: 8.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1229, allocations: 4 kB / 381.7 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.1233, allocations: 155.8 kB / 381.9 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.1245, allocations: 0.9517 MB / 382.9 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.1249, allocations: 142.8 kB / 383 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.1251, allocations: 52.83 kB / 383 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005353/0.1256, allocations: 0.511 MB / 383.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1256, allocations: 34.5 kB / 383.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1257, allocations: 0 / 383.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002475/0.1281, allocations: 0.7592 MB / 384.3 MB, free: 5.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.1282, allocations: 59.39 kB / 384.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.1283, allocations: 154.2 kB / 384.6 MB, free: 5.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.1284, allocations: 33.7 kB / 384.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/0.1285, allocations: 139.9 kB / 384.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.1285, allocations: 75 kB / 384.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-05/0.1286, allocations: 57.61 kB / 384.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1287, allocations: 330.8 kB / 385.2 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.129, allocations: 83.94 kB / 385.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.1293, allocations: 189.6 kB / 385.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/0.1299, allocations: 290.2 kB / 385.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1299, allocations: 3.938 kB / 385.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006711/0.1306, allocations: 325.3 kB / 386.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1306, allocations: 13.16 kB / 386.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1306, allocations: 4 kB / 386.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1307, allocations: 4 kB / 386.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.131, allocations: 87.88 kB / 386.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.131, allocations: 4 kB / 386.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.1313, allocations: 15.98 kB / 386.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.1313, allocations: 16 kB / 386.2 MB, free: 3.887 MB / 318.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.0001327/0.1314, allocations: 149.5 kB / 386.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.1315, allocations: 11.91 kB / 386.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006331/0.1321, allocations: 238.8 kB / 386.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1321, allocations: 0 / 386.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1322, allocations: 3.984 kB / 386.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1322, allocations: 7.984 kB / 386.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.1333, allocations: 0.5992 MB / 387.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.1334, allocations: 4 kB / 387.2 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.1337, allocations: 51.95 kB / 387.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1337, allocations: 4 kB / 387.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.1337, allocations: 8 kB / 387.3 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.1337, allocations: 7.938 kB / 387.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.1337, allocations: 3.938 kB / 387.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/0.1345, allocations: 403.2 kB / 387.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.1346, allocations: 92.89 kB / 387.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.1346, allocations: 11.94 kB / 387.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.1349, allocations: 15.98 kB / 387.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.1349, allocations: 7.984 kB / 387.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.1349, allocations: 23.86 kB / 387.8 MB, free: 2.129 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.436e-05/0.135, allocations: 111.3 kB / 387.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.135, allocations: 0 / 387.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003714/0.1354, allocations: 64 kB / 388 MB, free: 1.957 MB / 318.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.0002373/0.1356, allocations: 127.2 kB / 388.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005842/0.1362, allocations: 227.5 kB / 388.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1363, allocations: 0.9375 kB / 388.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.1365, allocations: 92.14 kB / 388.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.1369, allocations: 35.95 kB / 388.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1379, allocations: 472 kB / 388.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1382, allocations: 0.7168 MB / 389.6 MB, free: 240 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.1384, allocations: 41.89 kB / 389.7 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/0.1385, allocations: 31.42 kB / 389.7 MB, free: 168 kB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1385, allocations: 0 / 389.7 MB, free: 168 kB / 318.1 MB Notification: Performance of Templates: time 0.005792/0.1443, allocations: 2.719 MB / 392.4 MB, free: 13.44 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)