Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001622/0.001622, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001191/0.001191, allocations: 51.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1975, allocations: 46.64 MB / 325.3 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03059/0.2281, allocations: 26.58 MB / 351.9 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.2308, allocations: 2.243 MB / 354.1 MB, free: 7.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.2309, allocations: 4 kB / 354.1 MB, free: 7.012 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.2313, allocations: 59.64 kB / 354.2 MB, free: 6.953 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.2316, allocations: 155.1 kB / 354.3 MB, free: 6.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01393/0.2456, allocations: 6.15 MB / 360.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000396/0.246, allocations: 314.6 kB / 360.8 MB, free: 328 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.246, allocations: 24.83 kB / 360.8 MB, free: 300 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.2462, allocations: 135.5 kB / 361 MB, free: 164 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.2464, allocations: 115.6 kB / 361.1 MB, free: 48 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.2465, allocations: 12 kB / 361.1 MB, free: 36 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/0.2618, allocations: 9.222 MB / 370.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.262, allocations: 67.83 kB / 370.4 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.2621, allocations: 99.53 kB / 370.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.273, allocations: 4.679 MB / 375.1 MB, free: 1.938 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.273, allocations: 0 / 375.1 MB, free: 1.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.273, allocations: 0 / 375.1 MB, free: 1.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.273, allocations: 0 / 375.1 MB, free: 1.938 MB / 302.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.003689/0.2767, allocations: 1.115 MB / 376.3 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2768, allocations: 8.031 kB / 376.3 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.2769, allocations: 24.5 kB / 376.3 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.2772, allocations: 214.8 kB / 376.5 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.2772, allocations: 16.33 kB / 376.5 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.2772, allocations: 20 kB / 376.5 MB, free: 468 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/0.2779, allocations: 277.4 kB / 376.8 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.278, allocations: 4 kB / 376.8 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.278, allocations: 8 kB / 376.8 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.278, allocations: 8 kB / 376.8 MB, free: 160 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007982/0.2788, allocations: 315.7 kB / 377.1 MB, free: 15.84 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.001463/0.2803, allocations: 0.8281 MB / 378 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006946/0.281, allocations: 245.1 kB / 378.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.2813, allocations: 138 kB / 378.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01573/0.2971, allocations: 12.86 MB / 391.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.2972, allocations: 38.5 kB / 391.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.755e-06/0.2972, allocations: 0 / 391.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002935/0.3001, allocations: 0.6839 MB / 391.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.3002, allocations: 92.98 kB / 392 MB, free: 14.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3003, allocations: 125.8 kB / 392.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.3003, allocations: 33.7 kB / 392.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.3004, allocations: 104.8 kB / 392.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.3005, allocations: 134.1 kB / 392.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.3007, allocations: 65.69 kB / 392.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3008, allocations: 330.8 kB / 392.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.3012, allocations: 139.9 kB / 392.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.3018, allocations: 203.6 kB / 393.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.3028, allocations: 355.5 kB / 393.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3028, allocations: 3.984 kB / 393.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001223/0.304, allocations: 413.8 kB / 393.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3041, allocations: 7.938 kB / 393.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3041, allocations: 4 kB / 393.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3041, allocations: 4.219 kB / 393.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/0.3046, allocations: 95.81 kB / 394 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.3046, allocations: 7.938 kB / 394 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.3049, allocations: 27.88 kB / 394 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.305, allocations: 16 kB / 394 MB, free: 12.2 MB / 334.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.0001642/0.3052, allocations: 141.8 kB / 394.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.3053, allocations: 19.81 kB / 394.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000504/0.3058, allocations: 190.3 kB / 394.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3059, allocations: 7.938 kB / 394.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3059, allocations: 4 kB / 394.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3059, allocations: 0 / 394.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.3076, allocations: 0.7635 MB / 395.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3076, allocations: 8 kB / 395.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.3081, allocations: 79.88 kB / 395.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3081, allocations: 8.156 kB / 395.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.3081, allocations: 11.98 kB / 395.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.3081, allocations: 7.938 kB / 395.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3081, allocations: 0 / 395.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.3097, allocations: 0.7098 MB / 396 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.3098, allocations: 128.8 kB / 396.1 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.3099, allocations: 8 kB / 396.1 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.3102, allocations: 15.98 kB / 396.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.3103, allocations: 31.89 kB / 396.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.3103, allocations: 16 kB / 396.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.413e-05/0.3104, allocations: 99.33 kB / 396.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3104, allocations: 3.938 kB / 396.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002557/0.313, allocations: 0.9253 MB / 397.2 MB, free: 8.895 MB / 334.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.003922/0.3169, allocations: 1.257 MB / 398.5 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.318, allocations: 367.8 kB / 398.8 MB, free: 7.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.318, allocations: 4 kB / 398.8 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.3184, allocations: 179.7 kB / 399 MB, free: 7.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007161/0.3192, allocations: 96.08 kB / 399.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.3205, allocations: 0.6012 MB / 399.7 MB, free: 6.352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.3208, allocations: 0.7371 MB / 400.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004228/0.3213, allocations: 85.88 kB / 400.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3214, allocations: 39.41 kB / 400.6 MB, free: 5.461 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3214, allocations: 0 / 400.6 MB, free: 5.461 MB / 334.1 MB Notification: Performance of Templates: time 0.0405/0.3619, allocations: 30.9 MB / 431.5 MB, free: 6.508 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)