Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001133/0.001133, allocations: 108 kB / 15.61 MB, free: 152 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.001299/0.001299, allocations: 195.3 kB / 16.53 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.391/1.391, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001211/0.001211, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2351, allocations: 46.64 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03343/0.2686, allocations: 26.58 MB / 351.9 MB, free: 9.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002926/0.2716, allocations: 2.239 MB / 354.1 MB, free: 7.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.2717, allocations: 0 / 354.1 MB, free: 7.016 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.2721, allocations: 55.66 kB / 354.2 MB, free: 6.961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.2725, allocations: 167 kB / 354.3 MB, free: 6.797 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01664/0.2892, allocations: 6.146 MB / 360.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.2897, allocations: 314.6 kB / 360.8 MB, free: 328 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.029e-05/0.2897, allocations: 20.89 kB / 360.8 MB, free: 304 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.29, allocations: 139.5 kB / 361 MB, free: 164 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.2902, allocations: 115.6 kB / 361.1 MB, free: 48 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.2902, allocations: 12 kB / 361.1 MB, free: 36 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01572/0.3059, allocations: 9.218 MB / 370.3 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.3061, allocations: 71.83 kB / 370.4 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.3063, allocations: 95.59 kB / 370.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.3172, allocations: 4.679 MB / 375.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3173, allocations: 0 / 375.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3173, allocations: 0 / 375.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3173, allocations: 0 / 375.1 MB, free: 1.953 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.003304/0.3206, allocations: 1.119 MB / 376.3 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3207, allocations: 8.031 kB / 376.3 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.3208, allocations: 24.5 kB / 376.3 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.321, allocations: 214.8 kB / 376.5 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3211, allocations: 20.33 kB / 376.5 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.3211, allocations: 20 kB / 376.5 MB, free: 476 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/0.3218, allocations: 277.4 kB / 376.8 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3218, allocations: 0 / 376.8 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.3219, allocations: 12 kB / 376.8 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.3219, allocations: 4 kB / 376.8 MB, free: 172 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007737/0.3227, allocations: 319.6 kB / 377.1 MB, free: 15.85 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.001387/0.3241, allocations: 0.8282 MB / 378 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.3248, allocations: 249.1 kB / 378.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.3251, allocations: 134.1 kB / 378.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01503/0.3402, allocations: 12.85 MB / 391.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.3402, allocations: 46.44 kB / 391.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 4.128e-06/0.3403, allocations: 0 / 391.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002863/0.3431, allocations: 0.6843 MB / 391.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.3432, allocations: 89.05 kB / 392 MB, free: 14.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3433, allocations: 129.8 kB / 392.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.3434, allocations: 29.7 kB / 392.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.3434, allocations: 108.8 kB / 392.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.3435, allocations: 134.1 kB / 392.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.3437, allocations: 65.69 kB / 392.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3438, allocations: 330.8 kB / 392.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.3442, allocations: 139.9 kB / 392.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.3447, allocations: 203.6 kB / 393.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009262/0.3456, allocations: 355.4 kB / 393.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3456, allocations: 7.984 kB / 393.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001151/0.3468, allocations: 413.8 kB / 393.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3468, allocations: 4 kB / 393.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.3469, allocations: 4 kB / 393.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.3469, allocations: 4.219 kB / 393.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.3474, allocations: 91.88 kB / 394 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.3474, allocations: 11.88 kB / 394 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.3477, allocations: 27.88 kB / 394 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.3478, 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.0001486/0.3479, allocations: 141.8 kB / 394.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.3481, allocations: 19.81 kB / 394.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.3486, allocations: 194.7 kB / 394.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.3486, allocations: 7.938 kB / 394.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3486, allocations: 4 kB / 394.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3486, allocations: 0 / 394.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.3504, allocations: 0.7635 MB / 395.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3504, allocations: 0 / 395.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.3508, allocations: 83.88 kB / 395.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3508, allocations: 4.156 kB / 395.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.3509, allocations: 15.98 kB / 395.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3509, allocations: 4 kB / 395.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3509, allocations: 7.938 kB / 395.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.3524, allocations: 0.7098 MB / 396 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.3525, allocations: 124.8 kB / 396.1 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.3525, allocations: 8 kB / 396.1 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.3529, allocations: 15.98 kB / 396.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.3529, allocations: 39.77 kB / 396.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.353, allocations: 16 kB / 396.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.375e-05/0.3531, allocations: 99.33 kB / 396.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3531, allocations: 0 / 396.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002902/0.356, allocations: 0.9253 MB / 397.2 MB, free: 8.898 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.003583/0.3596, allocations: 1.252 MB / 398.5 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.3606, allocations: 375.9 kB / 398.8 MB, free: 7.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3606, allocations: 4 kB / 398.8 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004479/0.3611, 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.0007554/0.3618, allocations: 92.92 kB / 399.1 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.3632, allocations: 0.5974 MB / 399.7 MB, free: 6.359 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.3635, allocations: 0.7332 MB / 400.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.3639, allocations: 93.86 kB / 400.5 MB, free: 5.504 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3641, allocations: 35.42 kB / 400.5 MB, free: 5.469 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3641, allocations: 0 / 400.5 MB, free: 5.469 MB / 334.1 MB Notification: Performance of Templates: time 0.04101/0.4051, allocations: 30.91 MB / 431.5 MB, free: 6.512 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)