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.001452/0.001452, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001678/0.001678, allocations: 194.7 kB / 16.14 MB, free: 6.707 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.398/1.398, allocations: 205.1 MB / 222 MB, free: 4.746 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.001336/0.001336, allocations: 51.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2355, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4552/0.6908, allocations: 185.3 MB / 0.498 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007706/0.6986, allocations: 4.884 MB / 0.5028 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.6989, allocations: 9.219 kB / 0.5028 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.7001, allocations: 216.5 kB / 0.503 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009562/0.701, allocations: 368.1 kB / 0.5034 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008913/0.71, allocations: 2.525 MB / 0.5058 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001854/0.7118, allocations: 1.666 MB / 0.5074 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.7121, allocations: 112.6 kB / 0.5076 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00416/0.7162, allocations: 1.298 MB / 0.5088 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006671/0.7169, allocations: 436.4 kB / 0.5092 GB, free: 7.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.505e-05/0.717, allocations: 30.03 kB / 0.5093 GB, free: 7.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008696/0.7257, allocations: 4.301 MB / 0.5135 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003523/0.7261, allocations: 195.5 kB / 0.5137 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005604/0.7267, allocations: 287.8 kB / 0.5139 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008656/0.7354, allocations: 2.967 MB / 0.5168 GB, free: 4.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.7354, allocations: 0 / 0.5168 GB, free: 4.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7354, allocations: 4 kB / 0.5168 GB, free: 4.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.7354, allocations: 0 / 0.5168 GB, free: 4.625 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.003151/0.7386, allocations: 1.144 MB / 0.5179 GB, free: 3.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.7387, allocations: 8.031 kB / 0.518 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.739, allocations: 63.52 kB / 0.518 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.7395, allocations: 360.3 kB / 0.5184 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.7396, allocations: 36.94 kB / 0.5184 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.753e-05/0.7397, allocations: 44 kB / 0.5184 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009309/0.7406, allocations: 0.4984 MB / 0.5189 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.7406, allocations: 0 / 0.5189 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.947e-05/0.7407, allocations: 28 kB / 0.5189 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.7407, allocations: 8 kB / 0.519 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/0.7416, allocations: 0.6012 MB / 0.5195 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003247/0.7449, allocations: 2.167 MB / 0.5217 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.7461, allocations: 0.5535 MB / 0.5222 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.7465, allocations: 266 kB / 0.5225 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006107/0.7471, allocations: 0.6918 MB / 0.5231 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.7472, allocations: 43 kB / 0.5232 GB, free: 13.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.525e-06/0.7472, allocations: 0 / 0.5232 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.0155/0.7627, allocations: 3.65 MB / 0.5267 GB, free: 10.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.7628, allocations: 55.97 kB / 0.5268 GB, free: 10.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.7632, allocations: 302.6 kB / 0.5271 GB, free: 9.832 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.7633, allocations: 37.7 kB / 0.5271 GB, free: 9.789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.7635, allocations: 197.1 kB / 0.5273 GB, free: 9.594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.7638, allocations: 221.9 kB / 0.5275 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.764, allocations: 122.3 kB / 0.5276 GB, free: 9.254 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.7642, allocations: 346.8 kB / 0.528 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007493/0.7649, allocations: 309.1 kB / 0.5283 GB, free: 8.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008196/0.7658, allocations: 388.2 kB / 0.5286 GB, free: 8.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.7674, allocations: 0.7202 MB / 0.5293 GB, free: 7.473 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.7674, allocations: 0 / 0.5293 GB, free: 7.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00257/0.77, allocations: 0.96 MB / 0.5303 GB, free: 6.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.77, allocations: 8 kB / 0.5303 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.7701, allocations: 0 / 0.5303 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001764/0.7718, allocations: 340.8 kB / 0.5306 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.7725, allocations: 119.8 kB / 0.5307 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/0.7771, allocations: 3.499 MB / 0.5341 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000817/0.7779, allocations: 59.92 kB / 0.5342 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.778, allocations: 27.98 kB / 0.5342 GB, free: 2.152 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.0004796/0.7785, allocations: 185.7 kB / 0.5344 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/0.7789, allocations: 51.45 kB / 0.5344 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00293/0.7818, allocations: 1.024 MB / 0.5354 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.7818, allocations: 8 kB / 0.5354 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7819, allocations: 4 kB / 0.5355 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002202/0.7841, allocations: 1.067 MB / 0.5365 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003684/0.7878, allocations: 1.71 MB / 0.5382 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.7878, allocations: 0 / 0.5382 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.7884, allocations: 119.8 kB / 0.5383 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.7902, allocations: 363 kB / 0.5386 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.7903, allocations: 23.92 kB / 0.5386 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.7918, allocations: 0.8646 MB / 0.5395 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7918, allocations: 4.141 kB / 0.5395 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/0.7948, allocations: 1.341 MB / 0.5408 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.795, allocations: 120.7 kB / 0.5409 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.7952, allocations: 16 kB / 0.5409 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007762/0.7959, allocations: 55.86 kB / 0.541 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.7961, allocations: 40.5 kB / 0.541 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-05/0.7962, allocations: 39.91 kB / 0.5411 GB, free: 10.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002655/0.7964, allocations: 225.9 kB / 0.5413 GB, free: 10.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7964, allocations: 0 / 0.5413 GB, free: 10.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001647/0.7981, allocations: 455.6 kB / 0.5417 GB, free: 10.25 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.002083/0.8002, allocations: 0.5773 MB / 0.5423 GB, free: 9.703 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.8026, allocations: 0.9897 MB / 0.5432 GB, free: 8.691 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.8026, allocations: 3.938 kB / 0.5432 GB, free: 8.688 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.8037, allocations: 423.1 kB / 0.5437 GB, free: 8.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.8053, allocations: 303.4 kB / 0.5439 GB, free: 7.977 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.8086, allocations: 1.483 MB / 0.5454 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.8092, allocations: 0.8493 MB / 0.5462 GB, free: 5.594 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006844/0.8099, allocations: 136.5 kB / 0.5463 GB, free: 5.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.8101, allocations: 59.36 kB / 0.5464 GB, free: 5.398 MB / 430.1 MB Notification: Performance of SimCode: time 6.52e-07/0.8101, allocations: 3.938 kB / 0.5464 GB, free: 5.395 MB / 430.1 MB Notification: Performance of Templates: time 0.03608/0.8462, allocations: 21.25 MB / 0.5672 GB, free: 132 kB / 446.1 MB 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)