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.0007894/0.0007894, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0008823/0.0008824, allocations: 172.7 kB / 15.95 MB, free: 208 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.33/1.33, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.0004342/0.0004342, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2004, allocations: 47.58 MB / 326.5 MB, free: 1.652 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02675/0.2272, allocations: 24.68 MB / 351.1 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.2296, allocations: 2.07 MB / 353.2 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.2297, allocations: 4 kB / 353.2 MB, free: 8.816 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.23, allocations: 43.78 kB / 353.3 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.2303, allocations: 143.2 kB / 353.4 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0113/0.2416, allocations: 4.556 MB / 358 MB, free: 4.062 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004346/0.242, allocations: 390.5 kB / 358.3 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.2421, allocations: 8.906 kB / 358.4 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.2423, allocations: 127.6 kB / 358.5 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.2425, allocations: 123.6 kB / 358.6 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.2425, allocations: 4 kB / 358.6 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01272/0.2552, allocations: 8.224 MB / 366.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.2554, allocations: 67.83 kB / 366.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.57e-05/0.2554, allocations: 53.64 kB / 366.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004241/0.2597, allocations: 2.998 MB / 369.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2597, allocations: 0 / 369.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2597, allocations: 0 / 369.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.2597, allocations: 0 / 369.9 MB, free: 8.059 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.002492/0.2622, allocations: 1.072 MB / 371 MB, free: 6.934 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2623, allocations: 12.03 kB / 371 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.2624, allocations: 19.77 kB / 371 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.2626, allocations: 214.9 kB / 371.3 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2626, allocations: 12.33 kB / 371.3 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.2627, allocations: 19.94 kB / 371.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/0.2633, allocations: 285.4 kB / 371.6 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2634, allocations: 4 kB / 371.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.2634, allocations: 4 kB / 371.6 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.2634, allocations: 11.98 kB / 371.6 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007171/0.2642, allocations: 307.8 kB / 371.9 MB, free: 6.012 MB / 302.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.001311/0.2655, allocations: 0.8282 MB / 372.7 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006507/0.2661, allocations: 249.1 kB / 373 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.2664, allocations: 137.6 kB / 373.1 MB, free: 4.703 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01404/0.2805, allocations: 12.91 MB / 386 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.2805, allocations: 38.55 kB / 386 MB, free: 5.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.863e-06/0.2806, allocations: 0 / 386 MB, free: 5.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002601/0.2832, allocations: 0.6852 MB / 386.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.2832, allocations: 93.05 kB / 386.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.2833, allocations: 125.8 kB / 386.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.2834, allocations: 29.7 kB / 387 MB, free: 4.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.2834, allocations: 112.7 kB / 387.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.561e-05/0.2835, allocations: 126.2 kB / 387.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.2836, allocations: 4 kB / 387.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2837, allocations: 326.8 kB / 387.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.284, allocations: 147.8 kB / 387.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.2845, allocations: 203.6 kB / 387.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/0.2849, allocations: 147.9 kB / 388 MB, free: 3.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2849, allocations: 4 kB / 388 MB, free: 3.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001069/0.286, allocations: 409.2 kB / 388.4 MB, free: 2.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.286, allocations: 8.031 kB / 388.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.286, allocations: 4 kB / 388.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2861, allocations: 4 kB / 388.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.2865, allocations: 99.8 kB / 388.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2865, allocations: 7.953 kB / 388.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.2868, allocations: 31.83 kB / 388.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.2869, allocations: 23.98 kB / 388.6 MB, free: 2.594 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.287, allocations: 137.8 kB / 388.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.2872, allocations: 19.8 kB / 388.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/0.2877, allocations: 187.1 kB / 388.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.2877, allocations: 4 kB / 388.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2877, allocations: 7.984 kB / 388.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2877, allocations: 3.953 kB / 388.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.2893, allocations: 0.7552 MB / 389.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-06/0.2893, allocations: 8.031 kB / 389.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.2897, allocations: 79.88 kB / 389.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.2897, allocations: 4 kB / 389.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.2898, allocations: 11.94 kB / 389.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.2898, allocations: 7.984 kB / 389.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2898, allocations: 4 kB / 389.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.2912, allocations: 0.6991 MB / 390.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.2913, allocations: 132.7 kB / 390.6 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.2914, allocations: 8 kB / 390.6 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.2917, allocations: 23.98 kB / 390.7 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.2918, allocations: 24.03 kB / 390.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.2918, allocations: 19.98 kB / 390.7 MB, free: 344 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.2919, allocations: 95.27 kB / 390.8 MB, free: 248 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2919, allocations: 0 / 390.8 MB, free: 248 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0026/0.2945, allocations: 0.9252 MB / 391.7 MB, free: 15.32 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 (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.004364/0.2989, allocations: 1.198 MB / 392.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.2999, allocations: 339.7 kB / 393.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.2999, allocations: 4 kB / 393.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004469/0.3004, allocations: 175.7 kB / 393.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.3012, allocations: 96.5 kB / 393.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.3026, allocations: 0.7215 MB / 394.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.303, allocations: 0.7335 MB / 395 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004671/0.3035, allocations: 93.81 kB / 395.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.3036, allocations: 35.42 kB / 395.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3036, allocations: 0 / 395.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of Templates: time 0.04215/0.3458, allocations: 30.96 MB / 426.1 MB, free: 12.84 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)