Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 109 kB / 17.06 MB, free: 6.02 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.0009881/0.0009881, allocations: 191 kB / 18 MB, free: 5.109 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.345/1.345, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001213/0.001213, allocations: 56.19 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08911, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2701/0.3593, allocations: 50.69 MB / 425.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.3707, allocations: 5.197 MB / 430.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005549/0.3713, allocations: 7.969 kB / 430.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.3728, allocations: 240.2 kB / 430.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.3742, allocations: 370 kB / 431 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03236/0.4066, allocations: 6.754 MB / 437.7 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.4083, allocations: 1.091 MB / 438.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.4086, allocations: 153.5 kB / 439 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007556/0.4162, allocations: 3.593 MB / 442.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008006/0.417, allocations: 394.7 kB / 443 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.4172, allocations: 59.94 kB / 443 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01946/0.4367, allocations: 9.815 MB / 452.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00039/0.4371, allocations: 231.5 kB / 453.1 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005539/0.4377, allocations: 310.9 kB / 453.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.4506, allocations: 5.47 MB / 458.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.4507, allocations: 3.984 kB / 458.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4507, allocations: 0 / 458.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.4507, allocations: 0 / 458.8 MB, free: 11.16 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003715/0.4544, allocations: 1.35 MB / 460.2 MB, free: 9.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.4545, allocations: 16.02 kB / 460.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004052/0.4549, allocations: 55.44 kB / 460.3 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006197/0.4555, allocations: 377.8 kB / 460.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.4556, allocations: 33 kB / 460.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-05/0.4557, allocations: 44 kB / 460.7 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.4571, allocations: 0.5804 MB / 461.3 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.227e-05/0.4571, allocations: 3.906 kB / 461.3 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.077e-05/0.4572, allocations: 27.98 kB / 461.3 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.4572, allocations: 8 kB / 461.3 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.4586, allocations: 0.7417 MB / 462.1 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01633/0.475, allocations: 11.96 MB / 474 MB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.4763, allocations: 0.5239 MB / 474.6 MB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/0.4767, allocations: 254.1 kB / 474.8 MB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01433/0.491, allocations: 11.9 MB / 486.7 MB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.4911, allocations: 43.86 kB / 486.7 MB, free: 10.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.715e-06/0.4911, allocations: 4 kB / 486.7 MB, free: 10.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.005896/0.497, allocations: 2.114 MB / 488.9 MB, free: 8.562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.4971, allocations: 55.97 kB / 488.9 MB, free: 8.496 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.4974, allocations: 322.9 kB / 489.2 MB, free: 8.168 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.4975, allocations: 41.7 kB / 489.3 MB, free: 8.121 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.4977, allocations: 200.3 kB / 489.5 MB, free: 7.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.4978, allocations: 193.2 kB / 489.7 MB, free: 7.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.498, allocations: 110.2 kB / 489.8 MB, free: 7.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4981, allocations: 350.7 kB / 490.1 MB, free: 7.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.4985, allocations: 241.9 kB / 490.3 MB, free: 7.027 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/0.4991, allocations: 339.4 kB / 490.7 MB, free: 6.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.5003, allocations: 0.5995 MB / 491.3 MB, free: 6.035 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5003, allocations: 0 / 491.3 MB, free: 6.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001769/0.502, allocations: 0.7518 MB / 492 MB, free: 5.266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.5021, allocations: 8 kB / 492 MB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.5021, allocations: 3.938 kB / 492 MB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000472/0.5026, allocations: 114.7 kB / 492.1 MB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.5031, allocations: 128.7 kB / 492.3 MB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.5055, allocations: 3.468 MB / 495.7 MB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.5058, allocations: 20.03 kB / 495.8 MB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/0.5059, allocations: 27.98 kB / 495.8 MB, free: 1.188 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002517/0.5061, allocations: 197.6 kB / 496 MB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/0.5064, allocations: 55.47 kB / 496 MB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.508, allocations: 0.815 MB / 496.8 MB, free: 84 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.508, allocations: 4 kB / 496.9 MB, free: 80 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.508, allocations: 0 / 496.9 MB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001281/0.5093, allocations: 0.7596 MB / 497.6 MB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.5114, allocations: 1.305 MB / 498.9 MB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5114, allocations: 0 / 498.9 MB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.5119, allocations: 95.89 kB / 499 MB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000938/0.5128, allocations: 148.7 kB / 499.2 MB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.5129, allocations: 23.92 kB / 499.2 MB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004191/0.5133, allocations: 0.6484 MB / 499.8 MB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5133, allocations: 0 / 499.8 MB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.515, allocations: 0.9055 MB / 0.489 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.5151, allocations: 112.7 kB / 0.4891 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.5152, allocations: 12 kB / 0.4891 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.5156, allocations: 24.06 kB / 0.4891 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/0.5157, allocations: 44.33 kB / 0.4892 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.537e-05/0.5157, allocations: 27.97 kB / 0.4892 GB, free: 11.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002815/0.516, allocations: 265.8 kB / 0.4895 GB, free: 11.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.516, allocations: 0 / 0.4895 GB, free: 11.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003574/0.5196, allocations: 1.3 MB / 0.4907 GB, free: 10.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005939/0.5256, allocations: 1.699 MB / 0.4924 GB, free: 8.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.5272, allocations: 0.808 MB / 0.4932 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.5273, allocations: 0 / 0.4932 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.5279, allocations: 291.1 kB / 0.4935 GB, free: 7.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.5295, allocations: 272.8 kB / 0.4937 GB, free: 7.121 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.532, allocations: 1.099 MB / 0.4948 GB, free: 5.984 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.5325, allocations: 0.8365 MB / 0.4956 GB, free: 5.117 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006756/0.5332, allocations: 148.2 kB / 0.4957 GB, free: 4.969 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.5334, allocations: 63.41 kB / 0.4958 GB, free: 4.91 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5334, allocations: 0 / 0.4958 GB, free: 4.91 MB / 430.1 MB Notification: Performance of Templates: time 0.06487/0.5983, allocations: 46.4 MB / 0.5411 GB, free: 6.422 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)