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.001158/0.001158, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.001397/0.001397, allocations: 176.7 kB / 15.96 MB, free: 196 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.346/1.346, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0004271/0.0004272, allocations: 12 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1992, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3316/0.5308, allocations: 138.5 MB / 465 MB, free: 1.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008283/0.5317, allocations: 0.5571 MB / 465.5 MB, free: 1.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-05/0.5318, allocations: 4.062 kB / 465.5 MB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.5321, allocations: 43.08 kB / 465.6 MB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.5325, allocations: 136.9 kB / 465.7 MB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.5354, allocations: 0.8264 MB / 466.5 MB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006951/0.5361, allocations: 401.1 kB / 466.9 MB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.631e-05/0.5362, allocations: 7.641 kB / 466.9 MB, free: 1.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004727/0.5366, allocations: 138.8 kB / 467.1 MB, free: 1.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.537, allocations: 126.7 kB / 467.2 MB, free: 1.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.5371, allocations: 8.031 kB / 467.2 MB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.54, allocations: 1.355 MB / 468.6 MB, free: 1.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.5401, allocations: 64.84 kB / 468.6 MB, free: 1.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.846e-05/0.5402, allocations: 62.89 kB / 468.7 MB, free: 1.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009831/0.5412, allocations: 0.6377 MB / 469.3 MB, free: 1.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5412, allocations: 0 / 469.3 MB, free: 1.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5412, allocations: 2.969 kB / 469.3 MB, free: 1.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.5412, allocations: 0 / 469.3 MB, free: 1.641 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00209/0.5433, allocations: 0.6373 MB / 470 MB, free: 17.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.5434, allocations: 14.06 kB / 470 MB, free: 17.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.5436, allocations: 19.62 kB / 470 MB, free: 17.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.5438, allocations: 210.2 kB / 470.2 MB, free: 16.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.5439, allocations: 10.77 kB / 470.2 MB, free: 16.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.5439, allocations: 15.97 kB / 470.2 MB, free: 16.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005156/0.5444, allocations: 258.8 kB / 470.5 MB, free: 16.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.5445, allocations: 7.984 kB / 470.5 MB, free: 16.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.5445, allocations: 9.594 kB / 470.5 MB, free: 16.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.5445, allocations: 5.5 kB / 470.5 MB, free: 16.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005334/0.5451, allocations: 267.6 kB / 470.8 MB, free: 16.89 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.001378/0.5464, allocations: 0.7924 MB / 471.6 MB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/0.547, allocations: 220.4 kB / 471.8 MB, free: 16.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.5472, allocations: 136 kB / 471.9 MB, free: 16.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003371/0.5476, allocations: 359.8 kB / 472.3 MB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.5476, allocations: 38.11 kB / 472.3 MB, free: 15.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.5476, allocations: 4 kB / 472.3 MB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002099/0.5497, allocations: 0.6689 MB / 473 MB, free: 15.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.5498, allocations: 84.3 kB / 473 MB, free: 15.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.5499, allocations: 117.8 kB / 473.2 MB, free: 15.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.55, allocations: 33.08 kB / 473.2 MB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.55, allocations: 110.4 kB / 473.3 MB, free: 15.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.872e-05/0.5501, allocations: 123 kB / 473.4 MB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.5501, allocations: 8.344 kB / 473.4 MB, free: 15.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5503, allocations: 330.5 kB / 473.8 MB, free: 15.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.5506, allocations: 129.5 kB / 473.9 MB, free: 15.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.5509, allocations: 208.1 kB / 474.1 MB, free: 15.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.5513, allocations: 150.1 kB / 474.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.5513, allocations: 0 / 474.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007974/0.5521, allocations: 405.7 kB / 474.6 MB, free: 14.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5521, allocations: 5.094 kB / 474.6 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5521, allocations: 2.875 kB / 474.6 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5521, allocations: 3.125 kB / 474.6 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.5526, allocations: 88.83 kB / 474.7 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.5526, allocations: 13.28 kB / 474.7 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.5529, allocations: 27.59 kB / 474.8 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.5529, allocations: 14.88 kB / 474.8 MB, free: 14.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.553, allocations: 146.6 kB / 474.9 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.5531, allocations: 23.06 kB / 474.9 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.5535, allocations: 172.2 kB / 475.1 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5535, allocations: 10.06 kB / 475.1 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5535, allocations: 0 / 475.1 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.5535, allocations: 7.547 kB / 475.1 MB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.5549, allocations: 0.7478 MB / 475.9 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5549, allocations: 7.328 kB / 475.9 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.5553, allocations: 84.02 kB / 476 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.5553, allocations: 7 kB / 476 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.5553, allocations: 12.91 kB / 476 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.5554, allocations: 0 / 476 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5554, allocations: 4.688 kB / 476 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.5565, allocations: 0.7182 MB / 476.7 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.5566, allocations: 116.4 kB / 476.8 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.5567, allocations: 16.72 kB / 476.8 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.557, allocations: 21.25 kB / 476.9 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.557, allocations: 23.12 kB / 476.9 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.5571, allocations: 22.52 kB / 476.9 MB, free: 14.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.914e-05/0.5571, allocations: 96.16 kB / 477 MB, free: 13.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5571, allocations: 0 / 477 MB, free: 13.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005402/0.5577, allocations: 140.3 kB / 477.1 MB, free: 13.92 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 (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.0004268/0.5581, allocations: 229.7 kB / 477.4 MB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000731/0.5589, allocations: 334.9 kB / 477.7 MB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5589, allocations: 0 / 477.7 MB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.5592, allocations: 176.9 kB / 477.9 MB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.5599, allocations: 105.8 kB / 478 MB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.5611, allocations: 0.7394 MB / 478.7 MB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.5614, allocations: 0.7358 MB / 479.4 MB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003985/0.5618, allocations: 87.23 kB / 479.5 MB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.562, allocations: 28.66 kB / 479.5 MB, free: 12.64 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.562, allocations: 1.75 kB / 479.5 MB, free: 12.64 MB / 398.1 MB Notification: Performance of Templates: time 0.009049/0.571, allocations: 5.714 MB / 485.3 MB, free: 12.09 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)