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.007372/0.007373, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.001273/0.001273, allocations: 190.4 kB / 16.67 MB, free: 6.379 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.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001249/0.001249, allocations: 54.78 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1158, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006013/0.1219, allocations: 4.475 MB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.124, allocations: 1.822 MB / 379.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/0.1241, allocations: 0 / 379.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1244, allocations: 43.69 kB / 379.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.1248, allocations: 123.2 kB / 379.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.1255, allocations: 251.3 kB / 379.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.1259, allocations: 286.9 kB / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.1259, allocations: 13.11 kB / 380.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.1262, allocations: 123.7 kB / 380.3 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.1263, allocations: 87.61 kB / 380.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.1264, allocations: 12 kB / 380.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.1266, allocations: 95.94 kB / 380.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/0.1267, allocations: 39.83 kB / 380.5 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1268, allocations: 83.64 kB / 380.6 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.1271, allocations: 203.4 kB / 380.8 MB, free: 9.656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1272, allocations: 3.938 kB / 380.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1272, allocations: 0 / 380.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.1272, allocations: 0 / 380.8 MB, free: 9.652 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.001067/0.1283, allocations: 499.3 kB / 381.3 MB, free: 9.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1283, allocations: 8.031 kB / 381.3 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.1285, allocations: 28.73 kB / 381.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.1289, allocations: 204.2 kB / 381.5 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1289, allocations: 8.656 kB / 381.5 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.1289, allocations: 12.38 kB / 381.5 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.1293, allocations: 220.8 kB / 381.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1294, allocations: 0 / 381.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.1294, allocations: 12 kB / 381.8 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1294, allocations: 4 kB / 381.8 MB, free: 8.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.1298, allocations: 147.8 kB / 381.9 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.1311, allocations: 0.9517 MB / 382.9 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.1315, allocations: 146.7 kB / 383 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.1317, allocations: 56.83 kB / 383.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005247/0.1322, allocations: 0.5071 MB / 383.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1323, allocations: 30.56 kB / 383.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1323, allocations: 0 / 383.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002542/0.1348, allocations: 0.7631 MB / 384.4 MB, free: 5.762 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.1349, allocations: 59.41 kB / 384.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.135, allocations: 154.2 kB / 384.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.135, allocations: 33.69 kB / 384.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.161e-05/0.1351, allocations: 135.9 kB / 384.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.1352, allocations: 79 kB / 384.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/0.1353, allocations: 57.61 kB / 384.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1354, allocations: 326.8 kB / 385.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.1357, allocations: 83.94 kB / 385.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.136, allocations: 189.6 kB / 385.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/0.1365, allocations: 290.2 kB / 385.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1365, allocations: 0 / 385.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006802/0.1372, allocations: 321.4 kB / 386 MB, free: 3.914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1372, allocations: 12 kB / 386.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1373, allocations: 4 kB / 386.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.1373, allocations: 7.938 kB / 386.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.1377, allocations: 87.88 kB / 386.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.1377, allocations: 4 kB / 386.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.1379, allocations: 15.98 kB / 386.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.138, allocations: 16 kB / 386.2 MB, free: 3.77 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.0001176/0.1381, allocations: 149.5 kB / 386.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.1381, allocations: 15.89 kB / 386.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/0.1388, allocations: 238.8 kB / 386.6 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1388, allocations: 0 / 386.6 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.1388, allocations: 0 / 386.6 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1388, allocations: 7.984 kB / 386.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.1401, allocations: 0.5992 MB / 387.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1401, allocations: 4 kB / 387.2 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.1404, allocations: 55.89 kB / 387.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1404, allocations: 0 / 387.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.1404, allocations: 8 kB / 387.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1404, allocations: 7.938 kB / 387.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1404, allocations: 0 / 387.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008243/0.1413, allocations: 411.1 kB / 387.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.1413, allocations: 96.89 kB / 387.8 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.1414, allocations: 7.938 kB / 387.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.1416, allocations: 15.98 kB / 387.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.1416, allocations: 7.984 kB / 387.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.1417, allocations: 15.98 kB / 387.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.152e-05/0.1417, allocations: 111.3 kB / 387.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1418, allocations: 0 / 387.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003703/0.1421, allocations: 64 kB / 388 MB, free: 1.844 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.0002329/0.1424, allocations: 135.1 kB / 388.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005881/0.143, allocations: 219.6 kB / 388.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.143, allocations: 0.9375 kB / 388.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.1432, allocations: 96.08 kB / 388.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1436, allocations: 35.91 kB / 388.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1447, allocations: 480 kB / 388.9 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.145, allocations: 0.7168 MB / 389.6 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.1452, allocations: 41.95 kB / 389.7 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.759e-05/0.1453, allocations: 23.42 kB / 389.7 MB, free: 48 kB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1453, allocations: 0 / 389.7 MB, free: 48 kB / 318.1 MB Notification: Performance of Templates: time 0.005767/0.1511, allocations: 2.762 MB / 392.5 MB, free: 13.28 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)