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.0009996/0.001006, allocations: 89.67 kB / 16.65 MB, free: 6.59 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.001209/0.001209, allocations: 182.5 kB / 17.56 MB, free: 6.203 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.433/1.433, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0006877/0.0006877, allocations: 12 kB / 280.7 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1086, allocations: 47.58 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3277/0.4364, allocations: 146.3 MB / 474.6 MB, free: 7.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.4384, allocations: 1.538 MB / 476.1 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.4384, allocations: 0 / 476.1 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.4386, allocations: 26.02 kB / 476.2 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008116/0.4394, allocations: 281.5 kB / 476.4 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.4396, allocations: 44.58 kB / 476.5 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.4397, allocations: 71.59 kB / 476.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.4398, allocations: 8 kB / 476.6 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.4399, allocations: 41.33 kB / 476.6 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.4399, allocations: 23.88 kB / 476.6 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.44, allocations: 4 kB / 476.6 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006809/0.4407, allocations: 359.5 kB / 477 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.4407, allocations: 19.86 kB / 477 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.4407, allocations: 45.64 kB / 477 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004556/0.4412, allocations: 295.4 kB / 477.3 MB, free: 4.754 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4412, allocations: 7.984 kB / 477.3 MB, free: 4.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4412, allocations: 4 kB / 477.3 MB, free: 4.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.4412, allocations: 0 / 477.3 MB, free: 4.742 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.0008567/0.4421, allocations: 423.9 kB / 477.8 MB, free: 4.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4422, allocations: 8.031 kB / 477.8 MB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006271/0.4484, allocations: 452.2 kB / 478.2 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.4486, allocations: 172.5 kB / 478.4 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.4486, allocations: 7.938 kB / 478.4 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.4487, allocations: 8 kB / 478.4 MB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007782/0.4495, allocations: 299.8 kB / 478.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4495, allocations: 0 / 478.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.142e-05/0.4496, allocations: 4 kB / 478.7 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4496, allocations: 8 kB / 478.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008134/0.4504, allocations: 271.7 kB / 479 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.4514, allocations: 433.9 kB / 479.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00099/0.4524, allocations: 198.4 kB / 479.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.4527, allocations: 72.8 kB / 479.6 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.4527, allocations: 11.98 kB / 479.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.4527, allocations: 34.75 kB / 479.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.4527, allocations: 0 / 479.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001747/0.4545, allocations: 433.1 kB / 480.1 MB, free: 1.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.4545, allocations: 55.41 kB / 480.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.4546, allocations: 101.8 kB / 480.3 MB, free: 1.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.4547, allocations: 25.7 kB / 480.3 MB, free: 1.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.4547, allocations: 103.9 kB / 480.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.4548, allocations: 55.11 kB / 480.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.4548, allocations: 25.7 kB / 480.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4549, allocations: 314.8 kB / 480.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.4552, allocations: 79.94 kB / 480.9 MB, free: 1.004 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.4555, allocations: 116.2 kB / 481 MB, free: 0.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/0.4561, allocations: 199.6 kB / 481.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4561, allocations: 7.938 kB / 481.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000664/0.4568, allocations: 249.3 kB / 481.4 MB, free: 420 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4568, allocations: 4 kB / 481.4 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4568, allocations: 0 / 481.4 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4568, allocations: 4.125 kB / 481.4 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.4572, allocations: 51.95 kB / 481.5 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4572, allocations: 3.938 kB / 481.5 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.4575, allocations: 15.98 kB / 481.5 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.4575, allocations: 11.98 kB / 481.5 MB, free: 328 kB / 366.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.0001018/0.4576, allocations: 117.8 kB / 481.6 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.4577, allocations: 15.84 kB / 481.6 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008369/0.4585, allocations: 273.8 kB / 481.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.4585, allocations: 4 kB / 481.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.4585, allocations: 0 / 481.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4586, allocations: 4.172 kB / 481.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.4598, allocations: 0.5945 MB / 482.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4598, allocations: 0.875 kB / 482.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.4602, allocations: 43.91 kB / 482.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.4602, allocations: 0 / 482.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.4602, allocations: 11.98 kB / 482.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.4602, allocations: 8.062 kB / 482.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4602, allocations: 0 / 482.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/0.4609, allocations: 331.8 kB / 482.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.4609, allocations: 87.95 kB / 483 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.461, allocations: 11.98 kB / 483 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.4613, allocations: 7.984 kB / 483 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.4613, allocations: 19.92 kB / 483 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.4613, allocations: 8 kB / 483 MB, free: 14.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.816e-05/0.4614, allocations: 87.27 kB / 483.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4614, allocations: 0 / 483.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003302/0.4617, allocations: 48 kB / 483.2 MB, free: 14.56 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.0002201/0.4619, allocations: 115.2 kB / 483.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006297/0.4626, allocations: 200.4 kB / 483.5 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.4626, allocations: 0 / 483.5 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.4629, allocations: 100.2 kB / 483.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.4634, allocations: 42.14 kB / 483.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008128/0.4642, allocations: 328.1 kB / 483.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.4644, allocations: 0.697 MB / 484.6 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003927/0.4648, allocations: 48.75 kB / 484.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.465, allocations: 39.41 kB / 484.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.465, allocations: 3.938 kB / 484.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of Templates: time 0.006215/0.4712, allocations: 2.92 MB / 487.6 MB, free: 10.03 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)