Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001018/0.001018, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00812/0.00812, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.598/1.598, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.0004628/0.0004628, allocations: 12 kB / 279.4 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 47.58 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3771/0.5977, allocations: 146.3 MB / 473.3 MB, free: 15.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.5991, allocations: 1.544 MB / 474.9 MB, free: 15.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.5992, allocations: 0 / 474.9 MB, free: 15.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.5993, allocations: 20.81 kB / 474.9 MB, free: 15.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006971/0.6, allocations: 273.2 kB / 475.1 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.6002, allocations: 52.11 kB / 475.2 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.396e-05/0.6003, allocations: 77.64 kB / 475.3 MB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.6003, allocations: 3.344 kB / 475.3 MB, free: 15.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.529e-05/0.6004, allocations: 35.12 kB / 475.3 MB, free: 15.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.6005, allocations: 26.66 kB / 475.3 MB, free: 15.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.737e-06/0.6005, allocations: 3.938 kB / 475.3 MB, free: 15.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006004/0.6011, allocations: 359.9 kB / 475.7 MB, free: 15.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.6012, allocations: 16.19 kB / 475.7 MB, free: 15.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.6012, allocations: 55.52 kB / 475.8 MB, free: 15.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000427/0.6017, allocations: 300.2 kB / 476.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.6017, allocations: 0 / 476.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6017, allocations: 0 / 476.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.6017, allocations: 0 / 476.1 MB, free: 15.32 MB / 398.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.0007957/0.6025, allocations: 426.2 kB / 476.5 MB, free: 14.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.6025, allocations: 8.719 kB / 476.5 MB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006164/0.6087, allocations: 454.8 kB / 476.9 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.6089, allocations: 168.5 kB / 477.1 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.6089, allocations: 10.25 kB / 477.1 MB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.166e-05/0.609, allocations: 6.266 kB / 477.1 MB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007346/0.6097, allocations: 304.4 kB / 477.4 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.6098, allocations: 0 / 477.4 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.84e-05/0.6098, allocations: 7.219 kB / 477.4 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.6098, allocations: 0 / 477.4 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007431/0.6106, allocations: 273 kB / 477.7 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009587/0.6115, allocations: 429.4 kB / 478.1 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009489/0.6125, allocations: 205.6 kB / 478.3 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.6127, allocations: 73.53 kB / 478.4 MB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.6127, allocations: 0 / 478.4 MB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.6128, allocations: 40.25 kB / 478.4 MB, free: 14.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.6128, allocations: 3.938 kB / 478.4 MB, free: 14.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001665/0.6144, allocations: 429 kB / 478.8 MB, free: 14.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.6145, allocations: 55.83 kB / 478.9 MB, free: 14.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.6146, allocations: 105 kB / 479 MB, free: 14.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.6146, allocations: 30.52 kB / 479 MB, free: 14.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.6147, allocations: 97.66 kB / 479.1 MB, free: 13.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.6147, allocations: 61.11 kB / 479.2 MB, free: 13.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.6148, allocations: 26.44 kB / 479.2 MB, free: 13.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6149, allocations: 318.5 kB / 479.5 MB, free: 13.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.6151, allocations: 78.36 kB / 479.6 MB, free: 13.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.6154, allocations: 118.7 kB / 479.7 MB, free: 13.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/0.6159, allocations: 195.8 kB / 479.9 MB, free: 13.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.616, allocations: 0 / 479.9 MB, free: 13.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006252/0.6166, allocations: 243.6 kB / 480.1 MB, free: 13.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6166, allocations: 10.38 kB / 480.1 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6166, allocations: 3.125 kB / 480.1 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.6166, allocations: 0 / 480.1 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.617, allocations: 49.38 kB / 480.2 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.617, allocations: 6.438 kB / 480.2 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.6173, allocations: 14.03 kB / 480.2 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.6173, allocations: 10.7 kB / 480.2 MB, free: 13.43 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.6175, allocations: 123.6 kB / 480.3 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.6175, allocations: 11.12 kB / 480.3 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007921/0.6183, allocations: 280.8 kB / 480.6 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6183, allocations: 1.938 kB / 480.6 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.6183, allocations: 0.875 kB / 480.6 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.6183, allocations: 0 / 480.6 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.6195, allocations: 0.5865 MB / 481.2 MB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6195, allocations: 0 / 481.2 MB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.6199, allocations: 50.56 kB / 481.3 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6199, allocations: 4.062 kB / 481.3 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.6199, allocations: 9.547 kB / 481.3 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.6199, allocations: 5.406 kB / 481.3 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6199, allocations: 0 / 481.3 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006341/0.6206, allocations: 332 kB / 481.6 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.6206, allocations: 86.89 kB / 481.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.6207, allocations: 5.094 kB / 481.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.621, allocations: 17.45 kB / 481.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.621, allocations: 14.09 kB / 481.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.621, allocations: 11.12 kB / 481.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.61e-05/0.6211, allocations: 84.28 kB / 481.8 MB, free: 12.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6211, allocations: 0 / 481.8 MB, free: 12.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.6214, allocations: 50.59 kB / 481.9 MB, free: 12.55 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 (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.0002197/0.6217, allocations: 125.4 kB / 482 MB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005907/0.6223, allocations: 197.7 kB / 482.2 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.6223, allocations: 0 / 482.2 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.6226, allocations: 105.6 kB / 482.3 MB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.623, allocations: 34.61 kB / 482.3 MB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.6238, allocations: 329.5 kB / 482.6 MB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.624, allocations: 0.6911 MB / 483.3 MB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003879/0.6244, allocations: 51.88 kB / 483.4 MB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.6246, allocations: 35.56 kB / 483.4 MB, free: 11.52 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6246, allocations: 0 / 483.4 MB, free: 11.52 MB / 398.1 MB Notification: Performance of Templates: time 0.006052/0.6306, allocations: 2.922 MB / 486.3 MB, free: 11.17 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)