Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001075/0.001075, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.443/1.443, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.001434/0.001434, allocations: 55.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2689, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4825/0.7514, allocations: 186.6 MB / 0.4999 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00641/0.7579, allocations: 4.789 MB / 0.5046 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003111/0.7583, allocations: 2.094 kB / 0.5046 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.7594, allocations: 252.7 kB / 0.5048 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007422/0.7602, allocations: 381 kB / 0.5052 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009216/0.7694, allocations: 2.856 MB / 0.508 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0018/0.7712, allocations: 1.165 MB / 0.5091 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.7716, allocations: 147.1 kB / 0.5093 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004947/0.7765, allocations: 1.454 MB / 0.5107 GB, free: 7.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000745/0.7773, allocations: 427.8 kB / 0.5111 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.7774, allocations: 65.28 kB / 0.5111 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01009/0.7875, allocations: 4.079 MB / 0.5151 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005557/0.7881, allocations: 240.1 kB / 0.5154 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006954/0.7888, allocations: 315.7 kB / 0.5157 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.7994, allocations: 2.899 MB / 0.5185 GB, free: 4.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.237e-05/0.7995, allocations: 0 / 0.5185 GB, free: 4.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.432e-06/0.7995, allocations: 3.984 kB / 0.5185 GB, free: 4.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.512e-05/0.7996, allocations: 2.906 kB / 0.5185 GB, free: 4.762 MB / 398.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.003804/0.8034, allocations: 1.14 MB / 0.5196 GB, free: 3.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.8035, allocations: 8.031 kB / 0.5196 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005609/0.804, allocations: 55.52 kB / 0.5197 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.8048, allocations: 368.2 kB / 0.52 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.8048, allocations: 36.94 kB / 0.5201 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.894e-05/0.8049, allocations: 48 kB / 0.5201 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.8061, allocations: 0.5023 MB / 0.5206 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.8061, allocations: 0 / 0.5206 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.754e-05/0.8062, allocations: 16 kB / 0.5206 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.8062, allocations: 12 kB / 0.5206 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.8073, allocations: 0.605 MB / 0.5212 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.8109, allocations: 2.182 MB / 0.5233 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.8121, allocations: 0.5398 MB / 0.5239 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004132/0.8126, allocations: 270 kB / 0.5241 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000598/0.8132, allocations: 0.6938 MB / 0.5248 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.8132, allocations: 39 kB / 0.5248 GB, free: 13.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/0.8132, allocations: 4 kB / 0.5248 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.0151/0.8283, allocations: 3.652 MB / 0.5284 GB, free: 10.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.8284, allocations: 59.97 kB / 0.5285 GB, free: 10.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.8289, allocations: 294.7 kB / 0.5287 GB, free: 9.812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.829, allocations: 37.7 kB / 0.5288 GB, free: 9.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.8291, allocations: 192.1 kB / 0.529 GB, free: 9.582 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.8294, allocations: 233.8 kB / 0.5292 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.8296, allocations: 118.3 kB / 0.5293 GB, free: 9.234 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.8298, allocations: 346.8 kB / 0.5296 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007362/0.8305, allocations: 317.1 kB / 0.5299 GB, free: 8.574 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008083/0.8313, allocations: 384.1 kB / 0.5303 GB, free: 8.184 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.8329, allocations: 0.7125 MB / 0.531 GB, free: 7.453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8329, allocations: 0 / 0.531 GB, free: 7.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002352/0.8353, allocations: 0.9677 MB / 0.5319 GB, free: 6.469 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.8353, allocations: 4 kB / 0.5319 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.8354, allocations: 4 kB / 0.532 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.837, allocations: 334.3 kB / 0.5323 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/0.8376, allocations: 119.9 kB / 0.5324 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00418/0.8418, allocations: 3.706 MB / 0.536 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006847/0.8425, allocations: 47.97 kB / 0.536 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.483e-05/0.8426, allocations: 23.98 kB / 0.5361 GB, free: 1.926 MB / 414.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.0004326/0.843, allocations: 197.7 kB / 0.5363 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.8432, allocations: 43.53 kB / 0.5363 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.8459, allocations: 1.009 MB / 0.5373 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.8459, allocations: 8 kB / 0.5373 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.8459, allocations: 7.938 kB / 0.5373 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002249/0.8482, allocations: 1.07 MB / 0.5383 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/0.8517, allocations: 1.694 MB / 0.54 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.8517, allocations: 0 / 0.54 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/0.8523, allocations: 119.8 kB / 0.5401 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/0.8541, allocations: 372.3 kB / 0.5405 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/0.8542, allocations: 23.98 kB / 0.5405 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.8557, allocations: 0.8675 MB / 0.5413 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8557, allocations: 4 kB / 0.5413 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.8586, allocations: 1.337 MB / 0.5427 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.8589, allocations: 116.6 kB / 0.5428 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.859, allocations: 23.94 kB / 0.5428 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006886/0.8597, allocations: 43.95 kB / 0.5428 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.8598, allocations: 48.44 kB / 0.5429 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.359e-05/0.8599, allocations: 31.97 kB / 0.5429 GB, free: 10.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003117/0.8602, allocations: 221.9 kB / 0.5431 GB, free: 10.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8602, allocations: 0 / 0.5431 GB, free: 10.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001896/0.8621, allocations: 447.7 kB / 0.5435 GB, free: 10.06 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.001943/0.8641, allocations: 0.5887 MB / 0.5441 GB, free: 9.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002581/0.8667, allocations: 1.056 MB / 0.5451 GB, free: 8.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.8667, allocations: 0 / 0.5451 GB, free: 8.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009856/0.8677, allocations: 423 kB / 0.5456 GB, free: 8.012 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.8693, allocations: 316.2 kB / 0.5459 GB, free: 7.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.8724, allocations: 1.311 MB / 0.5471 GB, free: 6.371 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.8729, allocations: 0.8532 MB / 0.548 GB, free: 5.488 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006531/0.8736, allocations: 124.6 kB / 0.5481 GB, free: 5.363 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.8738, allocations: 59.41 kB / 0.5481 GB, free: 5.305 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.8738, allocations: 0 / 0.5481 GB, free: 5.305 MB / 430.1 MB Notification: Performance of Templates: time 0.03548/0.9092, allocations: 21.95 MB / 0.5696 GB, free: 15.34 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)