Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001038/0.001038, allocations: 89.89 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.008787/0.008787, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.4 MB / 222.4 MB, free: 5.559 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.0004716/0.0004719, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2283, allocations: 47.59 MB / 327 MB, free: 1.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3674/0.5958, allocations: 148.6 MB / 475.6 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000793/0.5966, allocations: 0.6064 MB / 476.2 MB, free: 14.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.5967, allocations: 0 / 476.2 MB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.597, allocations: 56.55 kB / 476.3 MB, free: 14.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.5973, allocations: 149.3 kB / 476.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.6001, allocations: 0.9428 MB / 477.4 MB, free: 14.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004947/0.6006, allocations: 481.4 kB / 477.8 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.094e-05/0.6007, allocations: 10.95 kB / 477.9 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.6009, allocations: 146.8 kB / 478 MB, free: 14.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.6011, allocations: 129 kB / 478.1 MB, free: 14.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.6012, allocations: 9.031 kB / 478.1 MB, free: 14.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.6036, allocations: 1.676 MB / 479.8 MB, free: 14.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.044e-05/0.6037, allocations: 63.5 kB / 479.9 MB, free: 14.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.89e-05/0.6038, allocations: 121.3 kB / 480 MB, free: 14.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.6051, allocations: 1.027 MB / 481 MB, free: 13.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6051, allocations: 3.438 kB / 481 MB, free: 13.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6051, allocations: 0 / 481 MB, free: 13.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.6051, allocations: 0 / 481 MB, free: 13.97 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.001553/0.6067, allocations: 0.634 MB / 481.7 MB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.6067, allocations: 8.281 kB / 481.7 MB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.6069, allocations: 22.33 kB / 481.7 MB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.6071, allocations: 212.9 kB / 481.9 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.6072, allocations: 13.64 kB / 481.9 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.6072, allocations: 20.19 kB / 481.9 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.6078, allocations: 265 kB / 482.2 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.6078, allocations: 0 / 482.2 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.6078, allocations: 9.781 kB / 482.2 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.6078, allocations: 6.312 kB / 482.2 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005918/0.6084, allocations: 266.2 kB / 482.5 MB, free: 13.21 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.001367/0.6098, allocations: 0.7923 MB / 483.3 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.6104, allocations: 220 kB / 483.5 MB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.6107, allocations: 143.8 kB / 483.6 MB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/0.6111, allocations: 359.6 kB / 484 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.6111, allocations: 37.03 kB / 484 MB, free: 12.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.6111, allocations: 0 / 484 MB, free: 12.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002466/0.6136, allocations: 0.6673 MB / 484.7 MB, free: 12.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.6137, allocations: 85 kB / 484.7 MB, free: 12.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.6138, allocations: 126 kB / 484.9 MB, free: 11.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.6138, allocations: 29.52 kB / 484.9 MB, free: 11.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.6139, allocations: 108.3 kB / 485 MB, free: 11.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.614, allocations: 121.6 kB / 485.1 MB, free: 11.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.614, allocations: 36.97 kB / 485.2 MB, free: 11.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6142, allocations: 325.8 kB / 485.5 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.6145, allocations: 141.1 kB / 485.6 MB, free: 11.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.615, allocations: 205.8 kB / 485.8 MB, free: 11.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007885/0.6158, allocations: 358.5 kB / 486.2 MB, free: 11.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6158, allocations: 0 / 486.2 MB, free: 11.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000925/0.6167, allocations: 409.3 kB / 486.6 MB, free: 11.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6167, allocations: 5.75 kB / 486.6 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.6167, allocations: 6.438 kB / 486.6 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.6168, allocations: 2.906 kB / 486.6 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.6172, allocations: 88.11 kB / 486.7 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.6173, allocations: 2.719 kB / 486.7 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.6176, allocations: 33.64 kB / 486.7 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.6176, allocations: 17.56 kB / 486.7 MB, free: 11.14 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.0001431/0.6178, allocations: 150.1 kB / 486.9 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.6179, allocations: 15.84 kB / 486.9 MB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.6182, allocations: 171.8 kB / 487 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6182, allocations: 2.875 kB / 487.1 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.6183, allocations: 6.469 kB / 487.1 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.6183, allocations: 2.531 kB / 487.1 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.6199, allocations: 0.7538 MB / 487.8 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.62, allocations: 8.984 kB / 487.8 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004348/0.6204, allocations: 83.39 kB / 487.9 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.6204, allocations: 3.281 kB / 487.9 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.6204, allocations: 10.8 kB / 487.9 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6205, allocations: 2.969 kB / 487.9 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.6205, allocations: 2.844 kB / 487.9 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.6218, allocations: 0.7145 MB / 488.6 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.622, allocations: 119.8 kB / 488.8 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.622, allocations: 8.719 kB / 488.8 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.6224, allocations: 18.48 kB / 488.8 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.6225, allocations: 38.22 kB / 488.8 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.6225, allocations: 18.92 kB / 488.8 MB, free: 10.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.71e-05/0.6226, allocations: 95.98 kB / 488.9 MB, free: 10 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6226, allocations: 2.812 kB / 488.9 MB, free: 10 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007164/0.6233, allocations: 143.6 kB / 489.1 MB, free: 9.977 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.0005275/0.6238, allocations: 237.1 kB / 489.3 MB, free: 9.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008641/0.6247, allocations: 349 kB / 489.6 MB, free: 9.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6247, allocations: 0 / 489.6 MB, free: 9.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.6251, allocations: 176.3 kB / 489.8 MB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007448/0.6259, allocations: 96.5 kB / 489.9 MB, free: 9.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.6274, allocations: 0.7425 MB / 490.7 MB, free: 9.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.6277, allocations: 0.7345 MB / 491.4 MB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003943/0.6281, allocations: 78.58 kB / 491.5 MB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.6283, allocations: 36.8 kB / 491.5 MB, free: 8.398 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6283, allocations: 0 / 491.5 MB, free: 8.398 MB / 398.1 MB Notification: Performance of Templates: time 0.009943/0.6382, allocations: 5.842 MB / 497.3 MB, free: 5.426 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe 2>&1)