Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001131/0.001131, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.358/1.358, allocations: 205.1 MB / 222 MB, free: 4.77 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.001123/0.001123, allocations: 47.94 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1902, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3397/0.5299, allocations: 150.6 MB / 475.2 MB, free: 13.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007713/0.5307, allocations: 0.6009 MB / 475.8 MB, free: 13.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.5308, allocations: 6.219 kB / 475.8 MB, free: 13.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.5311, allocations: 55.05 kB / 475.9 MB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.5315, allocations: 152.8 kB / 476 MB, free: 13.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.5345, allocations: 0.9361 MB / 477 MB, free: 13.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004607/0.5349, allocations: 484 kB / 477.4 MB, free: 13.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.535, allocations: 8.672 kB / 477.5 MB, free: 13.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.5352, allocations: 139.5 kB / 477.6 MB, free: 13.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.5354, allocations: 132.6 kB / 477.7 MB, free: 13.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.5355, allocations: 14.19 kB / 477.7 MB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.5378, allocations: 1.674 MB / 479.4 MB, free: 13.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.776e-05/0.5379, allocations: 70.45 kB / 479.5 MB, free: 13.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.538, allocations: 89.36 kB / 479.6 MB, free: 13.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.5395, allocations: 1.034 MB / 480.6 MB, free: 13.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5395, allocations: 0 / 480.6 MB, free: 13.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.5395, allocations: 4 kB / 480.6 MB, free: 13.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.5395, allocations: 0 / 480.6 MB, free: 13.48 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00179/0.5413, allocations: 0.6652 MB / 481.3 MB, free: 13.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.5414, allocations: 10.59 kB / 481.3 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.5415, allocations: 21.62 kB / 481.3 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.5417, allocations: 222 kB / 481.5 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.5418, allocations: 12.45 kB / 481.5 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.5418, allocations: 17.59 kB / 481.5 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.5423, allocations: 261.6 kB / 481.8 MB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.5424, allocations: 2.406 kB / 481.8 MB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.5424, allocations: 10.94 kB / 481.8 MB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.5424, allocations: 7.688 kB / 481.8 MB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.543, allocations: 260.9 kB / 482.1 MB, free: 12.73 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.5444, allocations: 0.7856 MB / 482.9 MB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005841/0.545, allocations: 228.7 kB / 483.1 MB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.5453, allocations: 135.2 kB / 483.2 MB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003057/0.5456, allocations: 360.8 kB / 483.6 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.5456, allocations: 36.66 kB / 483.6 MB, free: 11.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.402e-06/0.5456, allocations: 0 / 483.6 MB, free: 11.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002408/0.548, allocations: 0.6701 MB / 484.3 MB, free: 11.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.5481, allocations: 85.98 kB / 484.4 MB, free: 11.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.928e-05/0.5482, allocations: 122 kB / 484.5 MB, free: 11.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.5483, allocations: 35.52 kB / 484.5 MB, free: 11.42 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.5484, allocations: 106.7 kB / 484.6 MB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.93e-05/0.5485, allocations: 122.3 kB / 484.7 MB, free: 11.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.5486, allocations: 70.59 kB / 484.8 MB, free: 11.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.5487, allocations: 327.3 kB / 485.1 MB, free: 10.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.549, allocations: 136.4 kB / 485.3 MB, free: 10.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.5494, allocations: 209.2 kB / 485.5 MB, free: 10.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007328/0.5502, allocations: 367.5 kB / 485.8 MB, free: 10.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5502, allocations: 1.094 kB / 485.8 MB, free: 10.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008854/0.5511, allocations: 401.1 kB / 486.2 MB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.5511, allocations: 5.25 kB / 486.2 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5511, allocations: 2.688 kB / 486.2 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5511, allocations: 5.062 kB / 486.2 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.5516, allocations: 95.33 kB / 486.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.5517, allocations: 4.844 kB / 486.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.552, allocations: 31.64 kB / 486.4 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.552, allocations: 13.5 kB / 486.4 MB, free: 10.65 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0001551/0.5522, allocations: 145.2 kB / 486.5 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/0.5523, allocations: 24.03 kB / 486.5 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.5527, allocations: 173 kB / 486.7 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5527, allocations: 5.078 kB / 486.7 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.5527, allocations: 0 / 486.7 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.5527, allocations: 4.641 kB / 486.7 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.5543, allocations: 0.76 MB / 487.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.5543, allocations: 3.094 kB / 487.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.5548, allocations: 87.67 kB / 487.6 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5548, allocations: 2.781 kB / 487.6 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.5548, allocations: 13.7 kB / 487.6 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5548, allocations: 6.75 kB / 487.6 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5548, allocations: 2.75 kB / 487.6 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.5561, allocations: 0.7128 MB / 488.3 MB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.5562, allocations: 119.3 kB / 488.4 MB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.5562, allocations: 11.44 kB / 488.4 MB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.5566, allocations: 20.92 kB / 488.4 MB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.5567, allocations: 32.86 kB / 488.5 MB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.5567, allocations: 15.3 kB / 488.5 MB, free: 9.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.188e-05/0.5568, allocations: 91.67 kB / 488.6 MB, free: 9.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5568, allocations: 0 / 488.6 MB, free: 9.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005854/0.5574, allocations: 146.2 kB / 488.7 MB, free: 9.594 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * Single equations (assignments): 38 * 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.0004565/0.5578, allocations: 241.9 kB / 489 MB, free: 9.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007944/0.5586, allocations: 341.8 kB / 489.3 MB, free: 9.453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5586, allocations: 2.719 kB / 489.3 MB, free: 9.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.559, allocations: 176.7 kB / 489.5 MB, free: 9.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.5597, allocations: 97.09 kB / 489.6 MB, free: 9.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.561, allocations: 0.6852 MB / 490.2 MB, free: 9.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.5613, allocations: 0.7393 MB / 491 MB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003966/0.5617, allocations: 83.27 kB / 491.1 MB, free: 8.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.5619, allocations: 30.17 kB / 491.1 MB, free: 8.277 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5619, allocations: 5.141 kB / 491.1 MB, free: 8.273 MB / 398.1 MB Notification: Performance of Templates: time 0.009302/0.5712, allocations: 5.869 MB / 497 MB, free: 5.305 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe 2>&1)