Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001079/0.001079, allocations: 114.6 kB / 17.07 MB, free: 5.988 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.001058/0.001058, allocations: 194.8 kB / 18 MB, free: 5.07 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.349/1.349, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001253/0.001253, allocations: 51.92 kB / 327.9 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1106, allocations: 46.62 MB / 374.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4386/0.5493, allocations: 186.6 MB / 0.548 GB, free: 4.328 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.3601/0.9094, allocations: 4.779 MB / 0.5526 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003875/0.9098, allocations: 6.75 kB / 0.5526 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009233/0.9108, allocations: 247.7 kB / 0.5529 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000784/0.9116, allocations: 373.9 kB / 0.5532 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01068/0.9223, allocations: 2.866 MB / 0.556 GB, free: 1.445 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002766/0.9251, allocations: 1.161 MB / 0.5572 GB, free: 1.441 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003834/0.9255, allocations: 152 kB / 0.5573 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004505/0.93, allocations: 1.457 MB / 0.5587 GB, free: 1.398 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007694/0.9308, allocations: 430.6 kB / 0.5591 GB, free: 1.395 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.9309, allocations: 63.81 kB / 0.5592 GB, free: 1.395 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01002/0.9409, allocations: 4.214 MB / 0.5633 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005606/0.9415, allocations: 233.4 kB / 0.5635 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007915/0.9423, allocations: 322.3 kB / 0.5638 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00911/0.9515, allocations: 2.905 MB / 0.5667 GB, free: 1.223 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.9515, allocations: 1.75 kB / 0.5667 GB, free: 1.223 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.9515, allocations: 0 / 0.5667 GB, free: 1.223 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.9515, allocations: 0.9375 kB / 0.5667 GB, free: 1.223 MB / 478.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.003708/0.9552, allocations: 1.138 MB / 0.5678 GB, free: 16.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.9553, allocations: 9.938 kB / 0.5678 GB, free: 16.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003767/0.9557, allocations: 61.64 kB / 0.5679 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006135/0.9563, allocations: 361 kB / 0.5682 GB, free: 16.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.9564, allocations: 36.34 kB / 0.5682 GB, free: 16.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.45e-05/0.9565, allocations: 45.78 kB / 0.5683 GB, free: 16.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009407/0.9574, allocations: 0.5064 MB / 0.5688 GB, free: 16.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.9574, allocations: 0 / 0.5688 GB, free: 16.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.9575, allocations: 18.62 kB / 0.5688 GB, free: 16.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.9575, allocations: 13.91 kB / 0.5688 GB, free: 16.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.9586, allocations: 0.596 MB / 0.5694 GB, free: 16.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003614/0.9622, allocations: 2.17 MB / 0.5715 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.9633, allocations: 0.5536 MB / 0.5721 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/0.9637, allocations: 262.5 kB / 0.5723 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005302/0.9642, allocations: 0.7011 MB / 0.573 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.9642, allocations: 39.56 kB / 0.573 GB, free: 14.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.344e-06/0.9643, allocations: 3.125 kB / 0.573 GB, free: 14.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01394/0.9782, allocations: 3.634 MB / 0.5766 GB, free: 13.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.9783, allocations: 57.03 kB / 0.5766 GB, free: 13.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.9787, allocations: 297.7 kB / 0.5769 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-05/0.9788, allocations: 41.95 kB / 0.577 GB, free: 13.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.9789, allocations: 192.2 kB / 0.5771 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.9791, allocations: 223 kB / 0.5774 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.9793, allocations: 118.4 kB / 0.5775 GB, free: 13.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9794, allocations: 348.9 kB / 0.5778 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000666/0.9801, allocations: 312 kB / 0.5781 GB, free: 12.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007298/0.9808, allocations: 387.3 kB / 0.5785 GB, free: 12.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.9823, allocations: 0.7119 MB / 0.5792 GB, free: 12.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9823, allocations: 2.781 kB / 0.5792 GB, free: 12.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00223/0.9846, allocations: 0.9667 MB / 0.5801 GB, free: 12.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.9846, allocations: 6.969 kB / 0.5801 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.9846, allocations: 0 / 0.5801 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.9863, allocations: 337.1 kB / 0.5804 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.9869, allocations: 121.5 kB / 0.5806 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/0.9904, allocations: 3.707 MB / 0.5842 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/0.9911, allocations: 40.88 kB / 0.5842 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/0.9912, allocations: 25.66 kB / 0.5842 GB, free: 9.367 MB / 494.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.000366/0.9915, allocations: 190.2 kB / 0.5844 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.9917, allocations: 43.62 kB / 0.5845 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/0.9942, allocations: 1.024 MB / 0.5855 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.9942, allocations: 14 kB / 0.5855 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.9942, allocations: 0 / 0.5855 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002145/0.9964, allocations: 1.071 MB / 0.5865 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.9997, allocations: 1.695 MB / 0.5882 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.9997, allocations: 1.594 kB / 0.5882 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/1, allocations: 116.8 kB / 0.5883 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/1.002, allocations: 365.7 kB / 0.5886 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/1.002, allocations: 26.58 kB / 0.5887 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/1.003, allocations: 0.8632 MB / 0.5895 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.003, allocations: 5.719 kB / 0.5895 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/1.006, allocations: 1.344 MB / 0.5908 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/1.006, allocations: 121.6 kB / 0.5909 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.192e-05/1.006, allocations: 18.75 kB / 0.591 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/1.007, allocations: 46.19 kB / 0.591 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/1.007, allocations: 42.33 kB / 0.591 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/1.007, allocations: 29.73 kB / 0.5911 GB, free: 7.586 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002425/1.007, allocations: 231.1 kB / 0.5913 GB, free: 7.504 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.007, allocations: 0 / 0.5913 GB, free: 7.504 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00194/1.009, allocations: 454.8 kB / 0.5917 GB, free: 7.434 MB / 494.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.001478/1.011, allocations: 0.5691 MB / 0.5923 GB, free: 7.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001936/1.013, allocations: 1.002 MB / 0.5933 GB, free: 7.039 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/1.013, allocations: 0.625 kB / 0.5933 GB, free: 7.039 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008974/1.014, allocations: 427.4 kB / 0.5937 GB, free: 7.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/1.015, allocations: 307.4 kB / 0.594 GB, free: 7.008 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/1.018, allocations: 1.322 MB / 0.5953 GB, free: 6.527 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/1.018, allocations: 0.8459 MB / 0.5961 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000581/1.019, allocations: 134.5 kB / 0.5962 GB, free: 5.789 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/1.019, allocations: 54.69 kB / 0.5963 GB, free: 5.781 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/1.019, allocations: 1.094 kB / 0.5963 GB, free: 5.781 MB / 494.1 MB Notification: Performance of Templates: time 0.03431/1.054, allocations: 22.1 MB / 0.6178 GB, free: 7.086 MB / 0.4981 GB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)