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.006285/0.006285, allocations: 100.3 kB / 15.73 MB, free: 5.996 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.001201/0.001201, allocations: 193.1 kB / 16.67 MB, free: 5.918 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.374/1.374, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001316/0.001316, allocations: 53.77 kB / 326.6 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1095, allocations: 46.62 MB / 373.2 MB, free: 1.395 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5637/0.6732, allocations: 186.6 MB / 0.5467 GB, free: 5.332 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006355/0.6796, allocations: 4.779 MB / 0.5513 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002649/0.6799, allocations: 4 kB / 0.5514 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009338/0.6809, allocations: 258.4 kB / 0.5516 GB, free: 288 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008124/0.6817, allocations: 373.9 kB / 0.552 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.012/0.6937, allocations: 2.862 MB / 0.5548 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002563/0.6963, allocations: 1.161 MB / 0.5559 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.6967, allocations: 153.3 kB / 0.556 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.7008, allocations: 1.46 MB / 0.5575 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006314/0.7014, allocations: 414.6 kB / 0.5579 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.7015, allocations: 68 kB / 0.5579 GB, free: 9.789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008314/0.7099, allocations: 4.216 MB / 0.562 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003093/0.7102, allocations: 231.5 kB / 0.5623 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004892/0.7107, allocations: 318.9 kB / 0.5626 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005537/0.7162, allocations: 2.908 MB / 0.5654 GB, free: 2.113 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.7163, allocations: 0 / 0.5654 GB, free: 2.113 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.7163, allocations: 4 kB / 0.5654 GB, free: 2.109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.7163, allocations: 0 / 0.5654 GB, free: 2.109 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.002419/0.7187, allocations: 1.142 MB / 0.5665 GB, free: 0.918 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.7188, allocations: 15.97 kB / 0.5665 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003278/0.7191, allocations: 63.42 kB / 0.5666 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/0.7196, allocations: 358 kB / 0.5669 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.7197, allocations: 36.94 kB / 0.567 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.869e-05/0.7198, allocations: 44 kB / 0.567 GB, free: 380 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009305/0.7207, allocations: 0.5061 MB / 0.5675 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.7208, allocations: 3.906 kB / 0.5675 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-05/0.7208, allocations: 24 kB / 0.5675 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.7208, allocations: 8.875 kB / 0.5675 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009655/0.7218, allocations: 0.6012 MB / 0.5681 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.7252, allocations: 2.175 MB / 0.5703 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.7264, allocations: 0.547 MB / 0.5708 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.7268, allocations: 259.2 kB / 0.571 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000569/0.7274, allocations: 0.7009 MB / 0.5717 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.7274, allocations: 42.94 kB / 0.5718 GB, free: 11.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.435e-06/0.7275, allocations: 0 / 0.5718 GB, free: 11.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=65): time 0.01442/0.7419, allocations: 3.625 MB / 0.5753 GB, free: 7.387 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.742, allocations: 55.97 kB / 0.5754 GB, free: 7.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.7423, allocations: 306.5 kB / 0.5756 GB, free: 7.008 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.964e-05/0.7424, allocations: 37.7 kB / 0.5757 GB, free: 6.965 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.7426, allocations: 185.2 kB / 0.5759 GB, free: 6.777 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.7428, allocations: 228.7 kB / 0.5761 GB, free: 6.551 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.743, allocations: 118.2 kB / 0.5762 GB, free: 6.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7431, allocations: 358.7 kB / 0.5765 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006923/0.7438, allocations: 311 kB / 0.5768 GB, free: 5.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007779/0.7446, allocations: 388.2 kB / 0.5772 GB, free: 5.371 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.7462, allocations: 0.7047 MB / 0.5779 GB, free: 4.645 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7462, allocations: 3.938 kB / 0.5779 GB, free: 4.641 MB / 462.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002153/0.7484, allocations: 0.9639 MB / 0.5788 GB, free: 3.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.7484, allocations: 8 kB / 0.5788 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.7484, allocations: 0 / 0.5788 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/0.75, allocations: 342.3 kB / 0.5792 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/0.7506, allocations: 115.9 kB / 0.5793 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/0.7544, allocations: 3.706 MB / 0.5829 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/0.755, allocations: 36 kB / 0.5829 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.7551, allocations: 27.98 kB / 0.583 GB, free: 15.12 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.00037/0.7555, allocations: 197.8 kB / 0.5831 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.7556, allocations: 47.47 kB / 0.5832 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.7582, allocations: 1.017 MB / 0.5842 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.7583, allocations: 11.98 kB / 0.5842 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7583, allocations: 5 kB / 0.5842 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002098/0.7604, allocations: 1.067 MB / 0.5852 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/0.7637, allocations: 1.694 MB / 0.5869 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.7637, allocations: 0 / 0.5869 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/0.7643, allocations: 119.8 kB / 0.587 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.766, allocations: 368.3 kB / 0.5874 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/0.7661, allocations: 27.97 kB / 0.5874 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.768, allocations: 0.8654 MB / 0.5882 GB, free: 9.535 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.768, allocations: 0 / 0.5882 GB, free: 9.535 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004071/0.7721, allocations: 1.342 MB / 0.5895 GB, free: 8.172 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/0.7725, allocations: 120.6 kB / 0.5897 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.7727, allocations: 19.91 kB / 0.5897 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009956/0.7737, allocations: 43.95 kB / 0.5897 GB, free: 7.973 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.7738, allocations: 44.5 kB / 0.5898 GB, free: 7.926 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.774, allocations: 35.97 kB / 0.5898 GB, free: 7.891 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004513/0.7744, allocations: 221.9 kB / 0.59 GB, free: 7.672 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7745, allocations: 0 / 0.59 GB, free: 7.672 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002353/0.7768, allocations: 455.6 kB / 0.5904 GB, free: 7.227 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.002006/0.7788, allocations: 0.5728 MB / 0.591 GB, free: 6.645 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003221/0.7821, allocations: 1.006 MB / 0.592 GB, free: 5.613 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/0.7821, allocations: 3.938 kB / 0.592 GB, free: 5.609 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.7835, allocations: 419.2 kB / 0.5924 GB, free: 5.203 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/0.786, allocations: 308.2 kB / 0.5927 GB, free: 4.902 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/0.79, allocations: 1.299 MB / 0.5939 GB, free: 3.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005749/0.7907, allocations: 0.8493 MB / 0.5948 GB, free: 2.695 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008618/0.7915, allocations: 136.5 kB / 0.5949 GB, free: 2.562 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.7918, allocations: 55.42 kB / 0.595 GB, free: 2.508 MB / 478.1 MB Notification: Performance of SimCode: time 8.52e-07/0.7918, allocations: 0 / 0.595 GB, free: 2.508 MB / 478.1 MB Notification: Performance of Templates: time 0.06585/0.8577, allocations: 22.37 MB / 0.6168 GB, free: 12.1 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)