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.001283/0.001283, allocations: 107.9 kB / 16.92 MB, free: 5.707 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.001299/0.001299, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.42/1.42, allocations: 205.1 MB / 223.7 MB, free: 12.37 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.001202/0.001202, allocations: 51.92 kB / 280 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.101, allocations: 46.63 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4739/0.5749, allocations: 186.6 MB / 0.5012 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007264/0.5822, allocations: 4.794 MB / 0.5059 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004961/0.5827, allocations: 4 kB / 0.5059 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009085/0.5837, allocations: 246.6 kB / 0.5061 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008721/0.5846, allocations: 373.8 kB / 0.5065 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008108/0.5927, allocations: 2.868 MB / 0.5093 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001676/0.5944, allocations: 1.165 MB / 0.5104 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.5947, allocations: 153.9 kB / 0.5105 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/0.5988, allocations: 1.441 MB / 0.512 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000612/0.5995, allocations: 430.5 kB / 0.5124 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.5996, allocations: 64 kB / 0.5124 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009292/0.6089, allocations: 4.075 MB / 0.5164 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004378/0.6094, allocations: 239.4 kB / 0.5166 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005795/0.61, allocations: 318.9 kB / 0.5169 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005784/0.6157, allocations: 2.904 MB / 0.5198 GB, free: 9.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.6158, allocations: 0 / 0.5198 GB, free: 9.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.6158, allocations: 0 / 0.5198 GB, free: 9.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.6158, allocations: 0 / 0.5198 GB, free: 9.281 MB / 430.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.002511/0.6183, allocations: 1.138 MB / 0.5209 GB, free: 8.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.6184, allocations: 12.03 kB / 0.5209 GB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003474/0.6187, allocations: 51.53 kB / 0.5209 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.6193, allocations: 369.8 kB / 0.5213 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.6193, allocations: 36.94 kB / 0.5213 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.6194, allocations: 44 kB / 0.5214 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009357/0.6203, allocations: 0.5062 MB / 0.5219 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.6204, allocations: 0 / 0.5219 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/0.6204, allocations: 16 kB / 0.5219 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.6205, allocations: 12 kB / 0.5219 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.6215, allocations: 0.5973 MB / 0.5225 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/0.6249, allocations: 2.195 MB / 0.5246 GB, free: 3.988 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.6261, allocations: 0.5476 MB / 0.5252 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/0.6265, allocations: 262.1 kB / 0.5254 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005556/0.627, allocations: 0.6931 MB / 0.5261 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.6271, allocations: 43 kB / 0.5261 GB, free: 2.285 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 1.713e-06/0.6271, allocations: 0 / 0.5261 GB, free: 2.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.1992/0.8263, allocations: 3.641 MB / 0.5297 GB, free: 166.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.8264, allocations: 59.58 kB / 0.5297 GB, free: 166.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.8268, allocations: 290.9 kB / 0.53 GB, free: 166.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.69e-05/0.8269, allocations: 42.08 kB / 0.5301 GB, free: 166.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.8271, allocations: 187.5 kB / 0.5302 GB, free: 166 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.8273, allocations: 235.9 kB / 0.5305 GB, free: 165.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.8276, allocations: 114.1 kB / 0.5306 GB, free: 165.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.8277, allocations: 347.6 kB / 0.5309 GB, free: 165.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007762/0.8284, allocations: 310.8 kB / 0.5312 GB, free: 165.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007608/0.8292, allocations: 392.2 kB / 0.5316 GB, free: 165.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.8307, allocations: 0.7107 MB / 0.5323 GB, free: 164.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.8307, allocations: 0 / 0.5323 GB, free: 164.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002386/0.8331, allocations: 0.965 MB / 0.5332 GB, free: 164.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.8331, allocations: 6.641 kB / 0.5332 GB, free: 164.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8331, allocations: 1.188 kB / 0.5332 GB, free: 164.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/0.8348, allocations: 331.4 kB / 0.5335 GB, free: 164.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/0.8354, allocations: 120.8 kB / 0.5336 GB, free: 164.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003305/0.8387, allocations: 3.712 MB / 0.5373 GB, free: 161 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.8394, allocations: 40.45 kB / 0.5373 GB, free: 161 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.409e-05/0.8394, allocations: 33.22 kB / 0.5373 GB, free: 161 MB / 430.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.0003517/0.8398, allocations: 194.4 kB / 0.5375 GB, free: 160.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.8399, allocations: 42.89 kB / 0.5376 GB, free: 160.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.8425, allocations: 1.021 MB / 0.5386 GB, free: 160.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.8426, allocations: 14.47 kB / 0.5386 GB, free: 160.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.8426, allocations: 0 / 0.5386 GB, free: 160.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00205/0.8446, allocations: 1.067 MB / 0.5396 GB, free: 159.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003162/0.8478, allocations: 1.702 MB / 0.5413 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.8478, allocations: 0 / 0.5413 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/0.8484, allocations: 111 kB / 0.5414 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00179/0.8502, allocations: 380.6 kB / 0.5417 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-05/0.8503, allocations: 23.33 kB / 0.5418 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.8516, allocations: 0.865 MB / 0.5426 GB, free: 158.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8516, allocations: 2.359 kB / 0.5426 GB, free: 158.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.8543, allocations: 1.339 MB / 0.5439 GB, free: 157.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.8544, allocations: 119 kB / 0.544 GB, free: 157.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/0.8545, allocations: 17.47 kB / 0.5441 GB, free: 157.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/0.8551, allocations: 43.41 kB / 0.5441 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.932e-05/0.8552, allocations: 42.31 kB / 0.5441 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/0.8553, allocations: 40.78 kB / 0.5442 GB, free: 157.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.8556, allocations: 226.5 kB / 0.5444 GB, free: 157.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8556, allocations: 0 / 0.5444 GB, free: 157.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001361/0.8569, allocations: 457.1 kB / 0.5448 GB, free: 157.2 MB / 430.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.001286/0.8582, allocations: 0.576 MB / 0.5454 GB, free: 157.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002251/0.8605, allocations: 1.053 MB / 0.5464 GB, free: 156.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.8605, allocations: 7.578 kB / 0.5464 GB, free: 156.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007675/0.8613, allocations: 419.9 kB / 0.5468 GB, free: 156.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.8627, allocations: 312.3 kB / 0.5471 GB, free: 156.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.8651, allocations: 1.31 MB / 0.5484 GB, free: 155.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.8654, allocations: 0.8508 MB / 0.5492 GB, free: 154.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005118/0.8659, allocations: 133.2 kB / 0.5494 GB, free: 154.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.866, allocations: 54.8 kB / 0.5494 GB, free: 154.8 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.866, allocations: 0 / 0.5494 GB, free: 154.8 MB / 430.1 MB Notification: Performance of Templates: time 0.02617/0.8922, allocations: 21.96 MB / 0.5709 GB, free: 134.4 MB / 430.1 MB 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)