Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001726/0.001726, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.348/1.348, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.00127/0.00127, allocations: 48.34 kB / 279.5 MB, free: 3.516 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08622/0.08751, allocations: 46.63 MB / 326.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3341/0.4216, allocations: 148.3 MB / 474.5 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.4232, allocations: 1.51 MB / 476 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.4232, allocations: 4 kB / 476 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.4234, allocations: 22.39 kB / 476 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007072/0.4241, allocations: 288.2 kB / 476.3 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.4243, allocations: 52.31 kB / 476.3 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.642e-05/0.4244, allocations: 83.55 kB / 476.4 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.4245, allocations: 7.984 kB / 476.4 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.4246, allocations: 29.55 kB / 476.4 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.4246, allocations: 31.86 kB / 476.5 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.4246, allocations: 0 / 476.5 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000599/0.4253, allocations: 367.5 kB / 476.8 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.4253, allocations: 15.86 kB / 476.8 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.4253, allocations: 31.8 kB / 476.9 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.4258, allocations: 295.4 kB / 477.2 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4258, allocations: 4 kB / 477.2 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4258, allocations: 4 kB / 477.2 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.4258, allocations: 0 / 477.2 MB, free: 0.5234 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008278/0.4266, allocations: 431.9 kB / 477.6 MB, free: 56 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4267, allocations: 12.03 kB / 477.6 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005954/0.4326, allocations: 456.8 kB / 478.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.4328, allocations: 168.5 kB / 478.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.4328, allocations: 11.94 kB / 478.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.216e-05/0.4329, allocations: 7.984 kB / 478.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/0.4338, allocations: 301.2 kB / 478.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4338, allocations: 0 / 478.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.4338, allocations: 0 / 478.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4338, allocations: 4.875 kB / 478.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008538/0.4347, allocations: 275.8 kB / 478.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.4359, allocations: 433.3 kB / 479.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.4369, allocations: 202.4 kB / 479.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.4371, allocations: 72.81 kB / 479.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.4372, allocations: 7.984 kB / 479.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.4372, allocations: 30.56 kB / 479.5 MB, free: 14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.4372, allocations: 0 / 479.5 MB, free: 14 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.00176/0.439, allocations: 429 kB / 480 MB, free: 13.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.439, allocations: 51.41 kB / 480 MB, free: 13.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.4392, allocations: 113.8 kB / 480.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.4392, allocations: 29.7 kB / 480.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.4393, allocations: 91.89 kB / 480.2 MB, free: 13.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.62e-05/0.4394, allocations: 59.11 kB / 480.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.4395, allocations: 45.69 kB / 480.3 MB, free: 13.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4396, allocations: 322.8 kB / 480.7 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.4399, allocations: 79.94 kB / 480.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.4402, allocations: 111.4 kB / 480.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.4408, allocations: 200.2 kB / 481 MB, free: 12.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4408, allocations: 4 kB / 481 MB, free: 12.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006752/0.4415, allocations: 249.2 kB / 481.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.4415, allocations: 7.438 kB / 481.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4415, allocations: 4 kB / 481.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.4416, allocations: 4.125 kB / 481.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.442, allocations: 47.95 kB / 481.3 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.442, allocations: 7.938 kB / 481.4 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.4423, allocations: 15.98 kB / 481.4 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.4423, allocations: 11.98 kB / 481.4 MB, free: 12.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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.000159/0.4425, allocations: 125.7 kB / 481.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.4425, allocations: 4 kB / 481.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008705/0.4434, allocations: 281.8 kB / 481.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4434, allocations: 3.938 kB / 481.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.4434, allocations: 0 / 481.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4435, allocations: 0 / 481.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.4447, allocations: 0.587 MB / 482.4 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4448, allocations: 0 / 482.4 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.4451, allocations: 47.89 kB / 482.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.4451, allocations: 4 kB / 482.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.4452, allocations: 4 kB / 482.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.4452, allocations: 4.062 kB / 482.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4452, allocations: 0.6875 kB / 482.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/0.4459, allocations: 341 kB / 482.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.4459, allocations: 89 kB / 482.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.446, allocations: 4 kB / 482.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.4462, allocations: 11.98 kB / 482.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.4463, allocations: 15.92 kB / 482.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.4463, allocations: 13.55 kB / 482.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.93e-05/0.4464, allocations: 79.28 kB / 483 MB, free: 10.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4464, allocations: 4 kB / 483 MB, free: 10.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.4467, allocations: 52 kB / 483 MB, free: 10.31 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 18 * 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.0002638/0.447, allocations: 119.2 kB / 483.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006232/0.4476, allocations: 204.5 kB / 483.3 MB, free: 9.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4477, allocations: 0 / 483.3 MB, free: 9.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.4479, allocations: 104.2 kB / 483.4 MB, free: 9.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.4484, allocations: 35.97 kB / 483.5 MB, free: 9.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.4492, allocations: 307.4 kB / 483.8 MB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.4495, allocations: 0.6967 MB / 484.5 MB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004045/0.4499, allocations: 53.62 kB / 484.5 MB, free: 8.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.45, allocations: 35.41 kB / 484.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.45, allocations: 3.938 kB / 484.6 MB, free: 8.703 MB / 382.1 MB Notification: Performance of Templates: time 0.006339/0.4564, allocations: 3.046 MB / 487.6 MB, free: 5.668 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)