Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.008131/0.008131, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.001507/0.001508, allocations: 188.8 kB / 16.67 MB, free: 5.969 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.584/1.584, allocations: 205.1 MB / 222.6 MB, free: 4.262 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.001204/0.001204, allocations: 45.38 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1191, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005977/0.1251, allocations: 4.471 MB / 377.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.1271, allocations: 1.825 MB / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.1272, allocations: 7.938 kB / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.1276, allocations: 43.73 kB / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.1279, allocations: 119.2 kB / 379.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006394/0.1286, allocations: 251.4 kB / 379.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.1289, allocations: 286.9 kB / 380.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.129, allocations: 9.125 kB / 380.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.1293, allocations: 131.5 kB / 380.3 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.1294, allocations: 75.75 kB / 380.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.1294, allocations: 8 kB / 380.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.1297, allocations: 95.88 kB / 380.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.804e-05/0.1298, allocations: 43.88 kB / 380.5 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1299, allocations: 79.64 kB / 380.6 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.1303, allocations: 207.2 kB / 380.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1303, allocations: 4 kB / 380.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1303, allocations: 0 / 380.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1303, allocations: 4 kB / 380.8 MB, free: 9.625 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.001011/0.1313, allocations: 494.9 kB / 381.3 MB, free: 9.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1314, allocations: 8.031 kB / 381.3 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.1316, allocations: 20.89 kB / 381.3 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1319, allocations: 216.1 kB / 381.5 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.1319, allocations: 16.66 kB / 381.5 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.1319, allocations: 12.38 kB / 381.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.1324, allocations: 212.8 kB / 381.8 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1324, allocations: 3.938 kB / 381.8 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.1324, allocations: 8 kB / 381.8 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1325, allocations: 4 kB / 381.8 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.1328, allocations: 147.8 kB / 381.9 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.1341, allocations: 0.948 MB / 382.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.1346, allocations: 158.7 kB / 383 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.1347, allocations: 52.83 kB / 383.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005364/0.1353, allocations: 0.5072 MB / 383.6 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1353, allocations: 30.56 kB / 383.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.1353, allocations: 4 kB / 383.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002534/0.1379, allocations: 0.7672 MB / 384.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.138, allocations: 55.39 kB / 384.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1381, allocations: 154.3 kB / 384.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.1381, allocations: 25.7 kB / 384.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.1382, allocations: 152.1 kB / 384.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.99e-05/0.1383, allocations: 79.41 kB / 384.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1384, allocations: 61.66 kB / 384.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1386, allocations: 322.8 kB / 385.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.1388, allocations: 79.94 kB / 385.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.1392, allocations: 197.5 kB / 385.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/0.1397, allocations: 302.1 kB / 385.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1398, allocations: 0 / 385.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006874/0.1405, allocations: 321.2 kB / 386.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1405, allocations: 8 kB / 386.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1405, allocations: 4 kB / 386.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.1405, allocations: 4 kB / 386.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.1409, allocations: 79.88 kB / 386.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.1409, allocations: 12.22 kB / 386.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.1411, allocations: 23.98 kB / 386.2 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.1412, allocations: 12 kB / 386.2 MB, free: 3.715 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.0001387/0.1413, allocations: 133.7 kB / 386.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.1414, allocations: 15.91 kB / 386.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006489/0.142, allocations: 246.7 kB / 386.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.142, allocations: 4 kB / 386.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.142, allocations: 0 / 386.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.1421, allocations: 3.984 kB / 386.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.1433, allocations: 0.5915 MB / 387.2 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1433, allocations: 0 / 387.2 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.1436, allocations: 51.89 kB / 387.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1437, allocations: 4 kB / 387.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.1437, allocations: 12.12 kB / 387.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.1437, allocations: 11.86 kB / 387.3 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1437, allocations: 4 kB / 387.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008495/0.1446, allocations: 407.2 kB / 387.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.1446, allocations: 93.05 kB / 387.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.1447, allocations: 3.938 kB / 387.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.1449, allocations: 19.92 kB / 387.8 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.1449, allocations: 20.05 kB / 387.8 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.145, allocations: 7.984 kB / 387.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.236e-05/0.145, allocations: 111.2 kB / 387.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1451, allocations: 0 / 387.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003719/0.1454, allocations: 63.94 kB / 388 MB, free: 1.801 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.0002475/0.1457, allocations: 127.1 kB / 388.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005962/0.1463, allocations: 232.3 kB / 388.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1463, allocations: 0 / 388.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.1465, allocations: 87.83 kB / 388.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.147, allocations: 40.47 kB / 388.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1481, allocations: 471.2 kB / 388.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1484, allocations: 0.7168 MB / 389.7 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002053/0.1486, allocations: 45.88 kB / 389.7 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.359e-05/0.1487, allocations: 27.42 kB / 389.7 MB, free: 4 kB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1487, allocations: 0 / 389.7 MB, free: 4 kB / 318.1 MB Notification: Performance of Templates: time 0.006367/0.1551, allocations: 2.727 MB / 392.5 MB, free: 13.27 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)