Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001034/0.001034, allocations: 91.14 kB / 15.06 MB, free: 1.094 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.0008791/0.0008791, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004637/0.0004637, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2738, allocations: 47.58 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3422/0.616, allocations: 136.4 MB / 462.9 MB, free: 2.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.6174, allocations: 1.399 MB / 464.3 MB, free: 2.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.6174, allocations: 1 kB / 464.3 MB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.6176, allocations: 19.19 kB / 464.3 MB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005939/0.6182, allocations: 253.7 kB / 464.6 MB, free: 2.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.6183, allocations: 53.33 kB / 464.6 MB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.888e-05/0.6184, allocations: 69.22 kB / 464.7 MB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.6185, allocations: 4.75 kB / 464.7 MB, free: 2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.6186, allocations: 33.73 kB / 464.7 MB, free: 1.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.6187, allocations: 27.91 kB / 464.7 MB, free: 1.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.6187, allocations: 4.688 kB / 464.8 MB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007108/0.6194, allocations: 361.3 kB / 465.1 MB, free: 1.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.6194, allocations: 5.203 kB / 465.1 MB, free: 1.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.6195, allocations: 38.8 kB / 465.2 MB, free: 1.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.6198, allocations: 209.5 kB / 465.4 MB, free: 1.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6198, allocations: 0.9062 kB / 465.4 MB, free: 1.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.6198, allocations: 0 / 465.4 MB, free: 1.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.6198, allocations: 4 kB / 465.4 MB, free: 1.945 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.0008564/0.6207, allocations: 422.2 kB / 465.8 MB, free: 17.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6207, allocations: 9.5 kB / 465.8 MB, free: 17.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005158/0.6259, allocations: 455.1 kB / 466.2 MB, free: 17.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.6261, allocations: 168.7 kB / 466.4 MB, free: 17.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.6261, allocations: 10.64 kB / 466.4 MB, free: 17.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.55e-05/0.6262, allocations: 4.562 kB / 466.4 MB, free: 17.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007388/0.6269, allocations: 305.6 kB / 466.7 MB, free: 17.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.627, allocations: 0 / 466.7 MB, free: 17.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.627, allocations: 0.9688 kB / 466.7 MB, free: 17.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.627, allocations: 1.719 kB / 466.7 MB, free: 17.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007577/0.6278, allocations: 276.8 kB / 467 MB, free: 17.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008924/0.6287, allocations: 438.2 kB / 467.4 MB, free: 17.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008494/0.6296, allocations: 206.8 kB / 467.6 MB, free: 16.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.6297, allocations: 67.16 kB / 467.7 MB, free: 16.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.6298, allocations: 6.266 kB / 467.7 MB, free: 16.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.6298, allocations: 38.05 kB / 467.7 MB, free: 16.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.6298, allocations: 0 / 467.7 MB, free: 16.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001505/0.6313, allocations: 423.8 kB / 468.1 MB, free: 16.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.6314, allocations: 57.09 kB / 468.2 MB, free: 16.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.448e-05/0.6314, allocations: 102.2 kB / 468.3 MB, free: 16.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.6315, allocations: 30.55 kB / 468.3 MB, free: 16.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.6315, allocations: 93.73 kB / 468.4 MB, free: 16.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.6316, allocations: 62.8 kB / 468.5 MB, free: 16.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.6316, allocations: 4.75 kB / 468.5 MB, free: 16.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.6317, allocations: 319.7 kB / 468.8 MB, free: 16.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.6319, allocations: 77.77 kB / 468.9 MB, free: 16.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.6321, allocations: 116.3 kB / 469 MB, free: 16.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.6324, allocations: 89.27 kB / 469.1 MB, free: 16.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6324, allocations: 3.031 kB / 469.1 MB, free: 16.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000524/0.6329, allocations: 242.4 kB / 469.3 MB, free: 16.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.6329, allocations: 6.281 kB / 469.3 MB, free: 16.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6329, allocations: 0 / 469.3 MB, free: 16.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.633, allocations: 3.375 kB / 469.3 MB, free: 16.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.6333, allocations: 53.36 kB / 469.4 MB, free: 16.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.6333, allocations: 3.344 kB / 469.4 MB, free: 16.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.6335, allocations: 18.59 kB / 469.4 MB, free: 16.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.6336, allocations: 13.5 kB / 469.4 MB, free: 16.14 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.0001031/0.6337, allocations: 125.9 kB / 469.5 MB, free: 16.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.6337, allocations: 10.55 kB / 469.5 MB, free: 16.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007001/0.6344, allocations: 275.1 kB / 469.8 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.6345, allocations: 0 / 469.8 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.6345, allocations: 3.312 kB / 469.8 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6345, allocations: 3.188 kB / 469.8 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.6355, allocations: 0.574 MB / 470.4 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6355, allocations: 0 / 470.4 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.6359, allocations: 52.52 kB / 470.4 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.6359, allocations: 3.984 kB / 470.4 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.6359, allocations: 10.05 kB / 470.4 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6359, allocations: 7.5 kB / 470.5 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6359, allocations: 0 / 470.5 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005419/0.6365, allocations: 334.4 kB / 470.8 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.6365, allocations: 79.83 kB / 470.9 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.6366, allocations: 3.656 kB / 470.9 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.6368, allocations: 13.23 kB / 470.9 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.6368, allocations: 16.67 kB / 470.9 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.6369, allocations: 15.88 kB / 470.9 MB, free: 15.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.438e-05/0.6369, allocations: 78.09 kB / 471 MB, free: 15.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6369, allocations: 0 / 471 MB, free: 15.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.6372, allocations: 44.84 kB / 471 MB, free: 15.3 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.6375, allocations: 131.5 kB / 471.2 MB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005025/0.638, allocations: 194.8 kB / 471.3 MB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.638, allocations: 4.25 kB / 471.3 MB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.6382, allocations: 103.8 kB / 471.4 MB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.6386, allocations: 38.03 kB / 471.5 MB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006456/0.6393, allocations: 311.4 kB / 471.8 MB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.6395, allocations: 0.6929 MB / 472.5 MB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003867/0.6399, allocations: 60.56 kB / 472.5 MB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.6401, allocations: 28.14 kB / 472.6 MB, free: 14.28 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6401, allocations: 2.5 kB / 472.6 MB, free: 14.28 MB / 398.1 MB Notification: Performance of Templates: time 0.004913/0.645, allocations: 2.857 MB / 475.4 MB, free: 14.08 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.1_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)