Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007465/0.0007465, allocations: 90.72 kB / 16.65 MB, free: 6.586 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.0009039/0.000904, allocations: 180.2 kB / 17.56 MB, free: 6.203 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.322/1.322, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004505/0.0004504, allocations: 8.281 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0833/0.08377, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03016/0.114, allocations: 27.66 MB / 356 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.1167, allocations: 2.306 MB / 358.3 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.1168, allocations: 0 / 358.3 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.1171, allocations: 59.77 kB / 358.3 MB, free: 5.625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.1175, allocations: 147.2 kB / 358.5 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01401/0.1315, allocations: 5.034 MB / 363.5 MB, free: 440 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005419/0.1321, allocations: 470.3 kB / 364 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.782e-05/0.1321, allocations: 12.91 kB / 364 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.1324, allocations: 123.5 kB / 364.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1326, allocations: 127.5 kB / 364.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.1326, allocations: 8 kB / 364.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01608/0.1487, allocations: 9.487 MB / 373.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.1489, allocations: 63.84 kB / 373.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.1491, allocations: 109.4 kB / 373.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.1617, allocations: 4.748 MB / 378.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1618, allocations: 0 / 378.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1618, allocations: 0 / 378.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1618, allocations: 0 / 378.6 MB, free: 1.266 MB / 318.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.003275/0.1651, allocations: 1.065 MB / 379.7 MB, free: 152 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1651, allocations: 8.031 kB / 379.7 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.1653, allocations: 28.48 kB / 379.8 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1513/0.3166, allocations: 207.8 kB / 380 MB, free: 52.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.3167, allocations: 11.83 kB / 380 MB, free: 52.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.3168, allocations: 22.67 kB / 380 MB, free: 52.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.3179, allocations: 287 kB / 380.3 MB, free: 52.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.3179, allocations: 2.406 kB / 380.3 MB, free: 52.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.318, allocations: 6.125 kB / 380.3 MB, free: 52.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.318, allocations: 9.812 kB / 380.3 MB, free: 52.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009126/0.3189, allocations: 313.4 kB / 380.6 MB, free: 52.7 MB / 318.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.001598/0.3205, allocations: 0.8236 MB / 381.4 MB, free: 52.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000733/0.3213, allocations: 249.5 kB / 381.7 MB, free: 52.15 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.3216, allocations: 132.5 kB / 381.8 MB, free: 52.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01326/0.3349, allocations: 12.91 MB / 394.7 MB, free: 39.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.3349, allocations: 38.91 kB / 394.7 MB, free: 39.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.064e-06/0.3349, allocations: 0 / 394.7 MB, free: 39.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002886/0.3378, allocations: 0.6858 MB / 395.4 MB, free: 38.99 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.3379, allocations: 81.55 kB / 395.5 MB, free: 38.9 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.139e-05/0.338, allocations: 139.5 kB / 395.6 MB, free: 38.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.338, allocations: 31.8 kB / 395.7 MB, free: 38.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.3381, allocations: 107.9 kB / 395.8 MB, free: 38.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.643e-05/0.3382, allocations: 121.5 kB / 395.9 MB, free: 38.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.3382, allocations: 36.34 kB / 395.9 MB, free: 38.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.3383, allocations: 331.9 kB / 396.3 MB, free: 38.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.3387, allocations: 136.8 kB / 396.4 MB, free: 38.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.3392, allocations: 207.8 kB / 396.6 MB, free: 38.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009353/0.3401, allocations: 364 kB / 396.9 MB, free: 37.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3401, allocations: 0 / 396.9 MB, free: 37.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001161/0.3413, allocations: 422.8 kB / 397.4 MB, free: 37.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.3413, allocations: 6.984 kB / 397.4 MB, free: 37.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3413, allocations: 6.219 kB / 397.4 MB, free: 37.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.3414, allocations: 8.594 kB / 397.4 MB, free: 37.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.3418, allocations: 94.02 kB / 397.5 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.3419, allocations: 3.562 kB / 397.5 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.3422, allocations: 27.2 kB / 397.5 MB, free: 37.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.3422, allocations: 19.27 kB / 397.5 MB, free: 37.66 MB / 318.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.0001358/0.3424, allocations: 140 kB / 397.7 MB, free: 37.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.3425, allocations: 22.25 kB / 397.7 MB, free: 37.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/0.343, allocations: 191.7 kB / 397.9 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.343, allocations: 9.312 kB / 397.9 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.343, allocations: 0 / 397.9 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.343, allocations: 3.094 kB / 397.9 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.3446, allocations: 0.7568 MB / 398.6 MB, free: 36.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3446, allocations: 1.406 kB / 398.6 MB, free: 36.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.3451, allocations: 84.69 kB / 398.7 MB, free: 36.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3451, allocations: 3.125 kB / 398.7 MB, free: 36.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.3451, allocations: 13.25 kB / 398.7 MB, free: 36.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.3451, allocations: 8.344 kB / 398.7 MB, free: 36.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3451, allocations: 6.766 kB / 398.7 MB, free: 36.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.3465, allocations: 0.7021 MB / 399.5 MB, free: 36.49 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3467, allocations: 126.6 kB / 399.6 MB, free: 36.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.3467, allocations: 7.844 kB / 399.6 MB, free: 36.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.3471, allocations: 20.98 kB / 399.6 MB, free: 36.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.3471, allocations: 29.67 kB / 399.6 MB, free: 36.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.3472, allocations: 21.22 kB / 399.7 MB, free: 36.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.66e-05/0.3472, allocations: 99.05 kB / 399.8 MB, free: 36.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3472, allocations: 3.719 kB / 399.8 MB, free: 36.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002422/0.3496, allocations: 0.9234 MB / 400.7 MB, free: 36.19 MB / 318.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 (37): * Single equations (assignments): 37 * 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.004434/0.3541, allocations: 1.259 MB / 401.9 MB, free: 35.99 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.3552, allocations: 349.6 kB / 402.3 MB, free: 35.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3552, allocations: 0 / 402.3 MB, free: 35.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000471/0.3557, allocations: 180.8 kB / 402.5 MB, free: 35.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007616/0.3564, allocations: 98.33 kB / 402.6 MB, free: 35.81 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3578, allocations: 0.7313 MB / 403.3 MB, free: 35.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.358, allocations: 0.7382 MB / 404 MB, free: 34.62 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004501/0.3585, allocations: 84.94 kB / 404.1 MB, free: 34.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.3586, allocations: 38.45 kB / 404.1 MB, free: 34.55 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3586, allocations: 0 / 404.1 MB, free: 34.55 MB / 318.1 MB Notification: Performance of Templates: time 0.03466/0.3933, allocations: 30.66 MB / 434.8 MB, free: 7.332 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)