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.0009933/0.0009938, allocations: 89.45 kB / 16.32 MB, free: 6.449 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.0009499/0.0009499, allocations: 181 kB / 17.21 MB, free: 6.32 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.52/1.52, allocations: 205.4 MB / 223.4 MB, free: 5.285 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.0004315/0.0004316, allocations: 8 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2263, allocations: 47.6 MB / 327.7 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3678/0.5942, allocations: 136.4 MB / 464.2 MB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.5958, allocations: 1.4 MB / 465.6 MB, free: 1.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.5958, allocations: 0.7188 kB / 465.6 MB, free: 1.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.596, allocations: 17.62 kB / 465.6 MB, free: 1.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008065/0.5968, allocations: 259 kB / 465.8 MB, free: 1.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.597, allocations: 51.78 kB / 465.9 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.5971, allocations: 70.97 kB / 465.9 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.5971, allocations: 5.719 kB / 465.9 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.482e-05/0.5972, allocations: 32.38 kB / 466 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.5973, allocations: 24.12 kB / 466 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.5973, allocations: 5.141 kB / 466 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007167/0.598, allocations: 359.2 kB / 466.4 MB, free: 1.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.5981, allocations: 15.5 kB / 466.4 MB, free: 1.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.5981, allocations: 32.95 kB / 466.4 MB, free: 1.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.5984, allocations: 210.6 kB / 466.6 MB, free: 1.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.5984, allocations: 0.9688 kB / 466.6 MB, free: 1.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5984, allocations: 2.625 kB / 466.6 MB, free: 1.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.5985, allocations: 0 / 466.6 MB, free: 1.902 MB / 382.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.0009174/0.5994, allocations: 429.1 kB / 467 MB, free: 17.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5994, allocations: 10.09 kB / 467 MB, free: 17.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005201/0.6046, allocations: 458.6 kB / 467.5 MB, free: 17.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.6048, allocations: 160.5 kB / 467.6 MB, free: 17.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.6048, allocations: 9.359 kB / 467.7 MB, free: 17.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.508e-05/0.6049, allocations: 4.844 kB / 467.7 MB, free: 17.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006907/0.6056, allocations: 308.6 kB / 468 MB, free: 17.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.6056, allocations: 0.5938 kB / 468 MB, free: 17.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.6057, allocations: 6.578 kB / 468 MB, free: 17.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.6057, allocations: 2.312 kB / 468 MB, free: 17.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007498/0.6064, allocations: 270.5 kB / 468.2 MB, free: 17.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009475/0.6074, allocations: 438.9 kB / 468.7 MB, free: 16.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008482/0.6083, allocations: 203.1 kB / 468.9 MB, free: 16.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.6084, allocations: 64.33 kB / 468.9 MB, free: 16.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.6085, allocations: 8.484 kB / 468.9 MB, free: 16.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.6085, allocations: 37.53 kB / 469 MB, free: 16.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.6085, allocations: 0 / 469 MB, free: 16.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001483/0.61, allocations: 428.5 kB / 469.4 MB, free: 16.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.6101, allocations: 57.56 kB / 469.4 MB, free: 16.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.6101, allocations: 96.42 kB / 469.5 MB, free: 16.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.6102, allocations: 32.42 kB / 469.6 MB, free: 16.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.6102, allocations: 99.55 kB / 469.7 MB, free: 16.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.6103, allocations: 59.36 kB / 469.7 MB, free: 16.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.6103, allocations: 7.188 kB / 469.7 MB, free: 16.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6104, allocations: 316.1 kB / 470 MB, free: 16.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.6106, allocations: 75.61 kB / 470.1 MB, free: 16.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.6109, allocations: 120.9 kB / 470.2 MB, free: 16.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.6111, allocations: 83.44 kB / 470.3 MB, free: 16.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.6111, allocations: 0 / 470.3 MB, free: 16.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005547/0.6117, allocations: 243.3 kB / 470.6 MB, free: 16.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.6117, allocations: 6.062 kB / 470.6 MB, free: 16.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6117, allocations: 3.438 kB / 470.6 MB, free: 16.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.6117, allocations: 0 / 470.6 MB, free: 16.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.6121, allocations: 62.59 kB / 470.6 MB, free: 16.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.6121, allocations: 3.531 kB / 470.6 MB, free: 16.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.6123, allocations: 11.89 kB / 470.6 MB, free: 16.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.6123, allocations: 12.23 kB / 470.7 MB, free: 16.09 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.6124, allocations: 121.3 kB / 470.8 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.6125, allocations: 14.38 kB / 470.8 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007089/0.6132, allocations: 275.2 kB / 471.1 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6132, allocations: 6.969 kB / 471.1 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.6132, allocations: 0 / 471.1 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6132, allocations: 0 / 471.1 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.6143, allocations: 0.5838 MB / 471.6 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6143, allocations: 0 / 471.6 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.6146, allocations: 46.11 kB / 471.7 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.6146, allocations: 2.656 kB / 471.7 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.6146, allocations: 9.094 kB / 471.7 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.6147, allocations: 6.625 kB / 471.7 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6147, allocations: 0 / 471.7 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/0.6152, allocations: 331.3 kB / 472 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.6153, allocations: 86.44 kB / 472.1 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.6153, allocations: 6.875 kB / 472.1 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.6156, allocations: 13.8 kB / 472.1 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.6156, allocations: 12.52 kB / 472.1 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.6156, allocations: 10.47 kB / 472.2 MB, free: 15.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.789e-05/0.6157, allocations: 83.44 kB / 472.2 MB, free: 15.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6157, allocations: 0 / 472.2 MB, free: 15.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003333/0.616, allocations: 38.41 kB / 472.3 MB, free: 15.26 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001998/0.6162, allocations: 133.4 kB / 472.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005098/0.6167, allocations: 204.1 kB / 472.6 MB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6168, allocations: 0 / 472.6 MB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.617, allocations: 104.4 kB / 472.7 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.6174, allocations: 44.38 kB / 472.8 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/0.6181, allocations: 305 kB / 473 MB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.6184, allocations: 0.6897 MB / 473.7 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003963/0.6188, allocations: 61.36 kB / 473.8 MB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.6189, allocations: 38.08 kB / 473.8 MB, free: 14.23 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.6189, allocations: 0 / 473.8 MB, free: 14.23 MB / 398.1 MB Notification: Performance of Templates: time 0.005271/0.6242, allocations: 2.857 MB / 476.7 MB, free: 14.03 MB / 398.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)