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.001197/0.001197, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001881/0.001881, allocations: 168.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.408/1.408, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0005898/0.0005898, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2026, allocations: 47.59 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3353/0.538, allocations: 136.4 MB / 462.9 MB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.5393, allocations: 1.402 MB / 464.3 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.5393, allocations: 0 / 464.3 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.5394, allocations: 23.53 kB / 464.3 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006894/0.5401, allocations: 252.7 kB / 464.6 MB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.5403, allocations: 49.36 kB / 464.6 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.5404, allocations: 74.59 kB / 464.7 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.5405, allocations: 6.312 kB / 464.7 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.54e-05/0.5406, allocations: 27.94 kB / 464.7 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.5406, allocations: 31.12 kB / 464.7 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.5406, allocations: 2.125 kB / 464.8 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007152/0.5414, allocations: 358.4 kB / 465.1 MB, free: 1.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.5414, allocations: 11.91 kB / 465.1 MB, free: 1.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.5414, allocations: 35.3 kB / 465.1 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.5418, allocations: 211.3 kB / 465.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5418, allocations: 0.6562 kB / 465.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5418, allocations: 7.938 kB / 465.4 MB, free: 1.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.5418, allocations: 0.5938 kB / 465.4 MB, free: 1.883 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.0008252/0.5426, allocations: 423.8 kB / 465.8 MB, free: 17.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5427, allocations: 9.25 kB / 465.8 MB, free: 17.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005151/0.5478, allocations: 453.9 kB / 466.2 MB, free: 17.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.5479, allocations: 168.4 kB / 466.4 MB, free: 17.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.548, allocations: 11.2 kB / 466.4 MB, free: 17.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-05/0.548, allocations: 9.297 kB / 466.4 MB, free: 17.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.5487, allocations: 299.9 kB / 466.7 MB, free: 17.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5488, allocations: 0.9375 kB / 466.7 MB, free: 17.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/0.5488, allocations: 0.875 kB / 466.7 MB, free: 17.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.5488, allocations: 6.531 kB / 466.7 MB, free: 17.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007199/0.5496, allocations: 275 kB / 467 MB, free: 17.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008178/0.5504, allocations: 437.4 kB / 467.4 MB, free: 16.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008576/0.5513, allocations: 201.8 kB / 467.6 MB, free: 16.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.5514, allocations: 70.06 kB / 467.7 MB, free: 16.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.5515, allocations: 9 kB / 467.7 MB, free: 16.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.5515, allocations: 31.66 kB / 467.7 MB, free: 16.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.5515, allocations: 0 / 467.7 MB, free: 16.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001437/0.553, allocations: 428.3 kB / 468.1 MB, free: 16.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.553, allocations: 51.41 kB / 468.2 MB, free: 16.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.586e-05/0.5531, allocations: 103.7 kB / 468.3 MB, free: 16.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.5531, allocations: 27.7 kB / 468.3 MB, free: 16.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.5531, allocations: 93.83 kB / 468.4 MB, free: 16.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.5532, allocations: 68.27 kB / 468.5 MB, free: 16.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.5532, allocations: 4 kB / 468.5 MB, free: 16.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.5533, allocations: 312.8 kB / 468.8 MB, free: 16.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.5535, allocations: 86.44 kB / 468.9 MB, free: 16.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.5538, allocations: 111 kB / 469 MB, free: 16.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.554, allocations: 86.59 kB / 469.1 MB, free: 16.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.554, allocations: 0 / 469.1 MB, free: 16.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005229/0.5545, allocations: 248.7 kB / 469.3 MB, free: 16.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.5545, allocations: 5.812 kB / 469.3 MB, free: 16.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5545, allocations: 4 kB / 469.3 MB, free: 16.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.5546, allocations: 3.562 kB / 469.3 MB, free: 16.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.5549, allocations: 55.12 kB / 469.4 MB, free: 16.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5549, allocations: 2.734 kB / 469.4 MB, free: 16.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.5551, allocations: 12.33 kB / 469.4 MB, free: 16.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.5552, allocations: 20.2 kB / 469.4 MB, free: 16.08 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.0001018/0.5553, allocations: 116.8 kB / 469.5 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.5553, allocations: 14.27 kB / 469.5 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006941/0.556, allocations: 274 kB / 469.8 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.556, allocations: 6.344 kB / 469.8 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5561, allocations: 3.188 kB / 469.8 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5561, allocations: 2.906 kB / 469.8 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.5571, allocations: 0.5738 MB / 470.4 MB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5571, allocations: 4.062 kB / 470.4 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.5574, allocations: 48.47 kB / 470.4 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5574, allocations: 0 / 470.4 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.5575, allocations: 9.75 kB / 470.4 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5575, allocations: 3.688 kB / 470.4 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5575, allocations: 0 / 470.4 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/0.558, allocations: 332 kB / 470.8 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.5581, allocations: 82.56 kB / 470.9 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.5581, allocations: 5.953 kB / 470.9 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.5583, allocations: 12.81 kB / 470.9 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.5584, allocations: 22.58 kB / 470.9 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.5584, allocations: 6.719 kB / 470.9 MB, free: 15.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.728e-05/0.5584, allocations: 87.77 kB / 471 MB, free: 15.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5584, allocations: 0 / 471 MB, free: 15.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003215/0.5588, allocations: 38.12 kB / 471 MB, free: 15.24 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.0001785/0.559, allocations: 132.9 kB / 471.2 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004933/0.5595, allocations: 193.5 kB / 471.3 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5595, allocations: 4 kB / 471.3 MB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.5597, allocations: 105 kB / 471.4 MB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.5601, allocations: 37.28 kB / 471.5 MB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.5607, allocations: 311.6 kB / 471.8 MB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.561, allocations: 0.6897 MB / 472.5 MB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000385/0.5614, allocations: 64.34 kB / 472.5 MB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.5615, allocations: 30.8 kB / 472.6 MB, free: 14.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5616, allocations: 4 kB / 472.6 MB, free: 14.21 MB / 398.1 MB Notification: Performance of Templates: time 0.004836/0.5664, allocations: 2.864 MB / 475.4 MB, free: 14.02 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)