Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.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.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007765/0.007765, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001777/0.001776, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.48/1.48, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001292/0.001292, allocations: 49.61 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1164, allocations: 46.63 MB / 373.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5624/0.6788, allocations: 186.6 MB / 0.5467 GB, free: 5.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00761/0.6865, allocations: 4.794 MB / 0.5514 GB, free: 324 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006953/0.6872, allocations: 4 kB / 0.5514 GB, free: 320 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.6885, allocations: 254.5 kB / 0.5516 GB, free: 64 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.6898, allocations: 365.9 kB / 0.552 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01213/0.7019, allocations: 2.864 MB / 0.5548 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002312/0.7043, allocations: 1.165 MB / 0.5559 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000417/0.7047, allocations: 153.4 kB / 0.556 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004892/0.7096, allocations: 1.448 MB / 0.5574 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.7108, allocations: 430.6 kB / 0.5579 GB, free: 9.637 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003148/0.7111, allocations: 64 kB / 0.5579 GB, free: 9.574 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00982/0.7209, allocations: 4.216 MB / 0.562 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005743/0.7215, allocations: 227.5 kB / 0.5623 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007161/0.7223, allocations: 318.9 kB / 0.5626 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008217/0.7305, allocations: 2.904 MB / 0.5654 GB, free: 1.906 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.7306, allocations: 4 kB / 0.5654 GB, free: 1.902 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.7306, allocations: 0 / 0.5654 GB, free: 1.902 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.684e-05/0.7306, allocations: 0 / 0.5654 GB, free: 1.902 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003377/0.734, allocations: 1.142 MB / 0.5665 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.734, allocations: 8.031 kB / 0.5665 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004485/0.7345, allocations: 63.42 kB / 0.5666 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006444/0.7352, allocations: 366 kB / 0.5669 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.7352, allocations: 40.94 kB / 0.567 GB, free: 208 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.77e-05/0.7353, allocations: 40 kB / 0.567 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009294/0.7362, allocations: 0.5023 MB / 0.5675 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.792e-05/0.7363, allocations: 3.906 kB / 0.5675 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.7364, allocations: 16 kB / 0.5675 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.7364, allocations: 15.94 kB / 0.5675 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009652/0.7374, allocations: 0.605 MB / 0.5681 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003395/0.7408, allocations: 2.179 MB / 0.5703 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.7421, allocations: 0.547 MB / 0.5708 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.7425, allocations: 258.1 kB / 0.571 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006133/0.7431, allocations: 0.6931 MB / 0.5717 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.7431, allocations: 47 kB / 0.5718 GB, free: 10.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.895e-06/0.7432, allocations: 4 kB / 0.5718 GB, free: 10.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=65): time 0.01489/0.758, allocations: 3.623 MB / 0.5753 GB, free: 7.176 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.7582, allocations: 59.97 kB / 0.5754 GB, free: 7.105 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/0.7586, allocations: 302.5 kB / 0.5756 GB, free: 6.797 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.7588, allocations: 37.7 kB / 0.5757 GB, free: 6.754 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.759, allocations: 189.2 kB / 0.5759 GB, free: 6.562 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.7593, allocations: 228.7 kB / 0.5761 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.7595, allocations: 114.2 kB / 0.5762 GB, free: 6.219 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.7598, allocations: 358.8 kB / 0.5765 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007686/0.7605, allocations: 309.1 kB / 0.5768 GB, free: 5.559 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008414/0.7614, allocations: 393 kB / 0.5772 GB, free: 5.156 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.7629, allocations: 0.7047 MB / 0.5779 GB, free: 4.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7629, allocations: 0 / 0.5779 GB, free: 4.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002346/0.7653, allocations: 0.9639 MB / 0.5788 GB, free: 3.449 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.7653, allocations: 4 kB / 0.5788 GB, free: 3.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.7653, allocations: 4 kB / 0.5788 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.7669, allocations: 334.3 kB / 0.5792 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006008/0.7675, allocations: 123.9 kB / 0.5793 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/0.7716, allocations: 3.714 MB / 0.5829 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/0.7723, allocations: 27.98 kB / 0.5829 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.386e-05/0.7724, allocations: 23.98 kB / 0.5829 GB, free: 14.92 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004689/0.7729, allocations: 201.6 kB / 0.5831 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.7732, allocations: 43.53 kB / 0.5832 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/0.7761, allocations: 1.029 MB / 0.5842 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.7761, allocations: 8 kB / 0.5842 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7761, allocations: 7.938 kB / 0.5842 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002242/0.7784, allocations: 1.063 MB / 0.5852 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/0.7818, allocations: 1.687 MB / 0.5869 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.7819, allocations: 4 kB / 0.5869 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/0.7824, allocations: 111.8 kB / 0.587 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/0.7843, allocations: 380.3 kB / 0.5874 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.112e-05/0.7844, allocations: 23.98 kB / 0.5874 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.7858, allocations: 0.8655 MB / 0.5882 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.7858, allocations: 3.938 kB / 0.5882 GB, free: 9.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/0.7888, allocations: 1.338 MB / 0.5895 GB, free: 7.961 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.789, allocations: 116.6 kB / 0.5896 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.7891, allocations: 23.91 kB / 0.5897 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007226/0.7898, allocations: 51.89 kB / 0.5897 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.79, allocations: 40.5 kB / 0.5898 GB, free: 7.711 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.7901, allocations: 31.97 kB / 0.5898 GB, free: 7.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003156/0.7904, allocations: 225.9 kB / 0.59 GB, free: 7.457 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.7904, allocations: 0 / 0.59 GB, free: 7.457 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002197/0.7926, allocations: 455.6 kB / 0.5904 GB, free: 7.012 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001977/0.7946, allocations: 0.5695 MB / 0.591 GB, free: 6.434 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002545/0.7972, allocations: 1.006 MB / 0.592 GB, free: 5.402 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/0.7972, allocations: 0 / 0.592 GB, free: 5.402 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.7982, allocations: 423.2 kB / 0.5924 GB, free: 4.992 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.7999, allocations: 308.1 kB / 0.5927 GB, free: 4.691 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.8029, allocations: 1.303 MB / 0.5939 GB, free: 3.355 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.8035, allocations: 0.8493 MB / 0.5948 GB, free: 2.48 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005584/0.804, allocations: 128.6 kB / 0.5949 GB, free: 2.355 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.8042, allocations: 55.42 kB / 0.595 GB, free: 2.301 MB / 478.1 MB Notification: Performance of SimCode: time 1.203e-06/0.8042, allocations: 0 / 0.595 GB, free: 2.301 MB / 478.1 MB Notification: Performance of Templates: time 0.03436/0.8386, allocations: 22.11 MB / 0.6165 GB, free: 12.15 MB / 0.4981 GB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)