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.008478/0.008478, allocations: 97.59 kB / 15.73 MB, free: 6.059 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.001889/0.001888, allocations: 192 kB / 16.67 MB, free: 5.969 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.394/1.394, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001148/0.001148, allocations: 47.92 kB / 326.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08993/0.09109, allocations: 46.61 MB / 373.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2071/0.2982, allocations: 26.59 MB / 399.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003183/0.3015, allocations: 2.227 MB / 402 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.3016, allocations: 1.062 kB / 402 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.302, allocations: 67 kB / 402 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004109/0.3024, allocations: 159.6 kB / 402.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01924/0.3217, allocations: 6.173 MB / 408.4 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005935/0.3223, allocations: 311.2 kB / 408.7 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.567e-05/0.3223, allocations: 12.72 kB / 408.7 MB, free: 7.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.3226, allocations: 142.7 kB / 408.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.3228, allocations: 114.8 kB / 408.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.3229, allocations: 11.88 kB / 408.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01806/0.341, allocations: 9.402 MB / 418.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.3411, allocations: 63.8 kB / 418.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.3413, allocations: 95.64 kB / 418.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.3529, allocations: 4.671 MB / 423.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.353, allocations: 0 / 423.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.353, allocations: 0 / 423.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.353, allocations: 4 kB / 423.2 MB, free: 13.59 MB / 350.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.003207/0.3562, allocations: 1.12 MB / 424.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3563, allocations: 12.03 kB / 424.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.3565, allocations: 24.69 kB / 424.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.3567, allocations: 214.8 kB / 424.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3568, allocations: 12.33 kB / 424.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.3568, allocations: 19.91 kB / 424.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/0.3575, allocations: 285.4 kB / 424.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3576, allocations: 0 / 424.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.3576, allocations: 12 kB / 424.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.3576, allocations: 7.938 kB / 424.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007903/0.3584, allocations: 315.6 kB / 425.2 MB, free: 11.49 MB / 350.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.001409/0.3599, allocations: 0.8251 MB / 426 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007215/0.3606, allocations: 254.8 kB / 426.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.3609, allocations: 130.1 kB / 426.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01577/0.3767, allocations: 12.85 MB / 439.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.3768, allocations: 46.42 kB / 439.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.894e-06/0.3768, allocations: 0 / 439.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002788/0.3796, allocations: 0.6779 MB / 440 MB, free: 10.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.3796, allocations: 85.09 kB / 440 MB, free: 9.988 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3798, allocations: 125.8 kB / 440.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.3798, allocations: 29.7 kB / 440.2 MB, free: 9.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.3799, allocations: 108.8 kB / 440.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.38, allocations: 138 kB / 440.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.3801, allocations: 69.64 kB / 440.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.3803, allocations: 338.8 kB / 440.8 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.3806, allocations: 131.9 kB / 441 MB, free: 9.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.3811, allocations: 203.6 kB / 441.2 MB, free: 8.805 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009236/0.382, allocations: 362.9 kB / 441.5 MB, free: 8.426 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3821, allocations: 4 kB / 441.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00115/0.3832, allocations: 417.4 kB / 441.9 MB, free: 8.008 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3832, allocations: 8 kB / 441.9 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3833, allocations: 4 kB / 441.9 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3833, allocations: 4 kB / 441.9 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/0.3838, allocations: 87.88 kB / 442 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.3838, allocations: 11.88 kB / 442 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.3841, allocations: 23.97 kB / 442.1 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.3841, allocations: 16 kB / 442.1 MB, free: 7.855 MB / 366.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.0001353/0.3843, allocations: 149.7 kB / 442.2 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.3844, allocations: 19.81 kB / 442.2 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004944/0.3849, allocations: 200.5 kB / 442.4 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.3849, allocations: 7.938 kB / 442.4 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.385, allocations: 3.938 kB / 442.4 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.385, allocations: 3.984 kB / 442.4 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.3867, allocations: 0.7567 MB / 443.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.3867, allocations: 0 / 443.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.3871, allocations: 80.05 kB / 443.3 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3871, allocations: 4 kB / 443.3 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.3872, allocations: 15.98 kB / 443.3 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3872, allocations: 0 / 443.3 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3872, allocations: 7.938 kB / 443.3 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.3887, allocations: 0.7031 MB / 444 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.3888, allocations: 120.8 kB / 444.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.3889, allocations: 8 kB / 444.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.3892, allocations: 26.34 kB / 444.2 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.3893, allocations: 31.84 kB / 444.2 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.3893, allocations: 16.06 kB / 444.2 MB, free: 5.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.421e-05/0.3894, allocations: 107.6 kB / 444.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3894, allocations: 0 / 444.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002702/0.3921, allocations: 0.9253 MB / 445.2 MB, free: 4.551 MB / 366.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.004264/0.3964, allocations: 1.259 MB / 446.5 MB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3974, allocations: 344 kB / 446.8 MB, free: 2.949 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3974, allocations: 0 / 446.8 MB, free: 2.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.3979, allocations: 179.6 kB / 447 MB, free: 2.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006907/0.3986, allocations: 98.08 kB / 447.1 MB, free: 2.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.4, allocations: 0.5985 MB / 447.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.4003, allocations: 0.7409 MB / 448.4 MB, free: 1.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003506/0.4007, allocations: 89.83 kB / 448.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.4008, allocations: 31.42 kB / 448.6 MB, free: 1.152 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4008, allocations: 3.938 kB / 448.6 MB, free: 1.148 MB / 366.1 MB Notification: Performance of Templates: time 0.04547/0.4463, allocations: 30.89 MB / 479.5 MB, free: 2.195 MB / 398.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)