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.001238/0.001238, allocations: 104.2 kB / 16.62 MB, free: 6.812 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.001221/0.001221, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.317/1.317, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.002096/0.002096, allocations: 56.38 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1127, allocations: 46.62 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3661/0.4788, allocations: 184.3 MB / 0.4985 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005546/0.4844, allocations: 4.76 MB / 0.5031 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.4846, allocations: 11.94 kB / 0.5031 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008027/0.4855, allocations: 215 kB / 0.5033 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006375/0.4862, allocations: 354.1 kB / 0.5037 GB, free: 9.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007204/0.4934, allocations: 2.617 MB / 0.5062 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.4947, allocations: 1.173 MB / 0.5074 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.4949, allocations: 149.9 kB / 0.5075 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003107/0.498, allocations: 1.379 MB / 0.5089 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005057/0.4985, allocations: 454.5 kB / 0.5093 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.324e-05/0.4986, allocations: 60 kB / 0.5094 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006413/0.5051, allocations: 4.223 MB / 0.5135 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.5054, allocations: 243.4 kB / 0.5137 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.5057, allocations: 314.9 kB / 0.514 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005534/0.5113, allocations: 2.993 MB / 0.5169 GB, free: 12.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5113, allocations: 4 kB / 0.5169 GB, free: 12.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5113, allocations: 0 / 0.5169 GB, free: 12.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.5113, allocations: 0 / 0.5169 GB, free: 12.08 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.00227/0.5136, allocations: 1.146 MB / 0.5181 GB, free: 10.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5137, allocations: 8.031 kB / 0.5181 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/0.514, allocations: 59.52 kB / 0.5181 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.5145, allocations: 357.8 kB / 0.5185 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.5145, allocations: 41.73 kB / 0.5185 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.433e-05/0.5146, allocations: 44 kB / 0.5186 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008717/0.5155, allocations: 0.5061 MB / 0.519 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.5155, allocations: 0 / 0.519 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.5156, allocations: 24 kB / 0.5191 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.5156, allocations: 8 kB / 0.5191 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009491/0.5166, allocations: 0.6012 MB / 0.5197 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.5198, allocations: 2.169 MB / 0.5218 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.5209, allocations: 0.5476 MB / 0.5223 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.5213, allocations: 269.9 kB / 0.5226 GB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005556/0.5219, allocations: 0.697 MB / 0.5233 GB, free: 5.145 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.5219, allocations: 39 kB / 0.5233 GB, free: 5.098 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 2.615e-06/0.5219, allocations: 0 / 0.5233 GB, free: 5.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.01441/0.5364, allocations: 3.656 MB / 0.5269 GB, free: 1.344 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.5364, allocations: 59.91 kB / 0.5269 GB, free: 1.273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.5368, allocations: 298.7 kB / 0.5272 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-05/0.5369, allocations: 37.7 kB / 0.5272 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.537, allocations: 193.1 kB / 0.5274 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.5372, allocations: 232.6 kB / 0.5276 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.5374, allocations: 114.3 kB / 0.5278 GB, free: 400 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5375, allocations: 350.8 kB / 0.5281 GB, free: 40 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1724/0.7099, allocations: 309.8 kB / 0.5284 GB, free: 166.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007838/0.7107, allocations: 387.8 kB / 0.5288 GB, free: 166.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.7121, allocations: 0.7087 MB / 0.5294 GB, free: 166.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.7121, allocations: 0.8438 kB / 0.5294 GB, free: 166.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002473/0.7146, allocations: 0.9586 MB / 0.5304 GB, free: 165.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.7146, allocations: 7.094 kB / 0.5304 GB, free: 165.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.7147, allocations: 1.375 kB / 0.5304 GB, free: 165.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.7162, allocations: 337.2 kB / 0.5307 GB, free: 165.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.7168, allocations: 118.5 kB / 0.5308 GB, free: 165.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.7198, allocations: 3.714 MB / 0.5345 GB, free: 162.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007218/0.7205, allocations: 57.77 kB / 0.5345 GB, free: 162.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/0.7206, allocations: 28.86 kB / 0.5345 GB, free: 162.3 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.0003352/0.721, allocations: 194.9 kB / 0.5347 GB, free: 162.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.7211, allocations: 44.89 kB / 0.5348 GB, free: 162.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/0.7238, allocations: 1.021 MB / 0.5358 GB, free: 161.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.7239, allocations: 6.938 kB / 0.5358 GB, free: 161.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.7239, allocations: 2.031 kB / 0.5358 GB, free: 161.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002072/0.726, allocations: 1.064 MB / 0.5368 GB, free: 161.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.7291, allocations: 1.698 MB / 0.5385 GB, free: 160.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7291, allocations: 1.094 kB / 0.5385 GB, free: 160.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/0.7297, allocations: 110.7 kB / 0.5386 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/0.7315, allocations: 376.6 kB / 0.5389 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.977e-05/0.7316, allocations: 24.33 kB / 0.539 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.7331, allocations: 0.8731 MB / 0.5398 GB, free: 159.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7331, allocations: 1.938 kB / 0.5398 GB, free: 159.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.7361, allocations: 1.345 MB / 0.5411 GB, free: 159 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.7364, allocations: 118 kB / 0.5412 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/0.7365, allocations: 14.12 kB / 0.5413 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007177/0.7372, allocations: 60.33 kB / 0.5413 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.7373, allocations: 39.97 kB / 0.5413 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.39e-05/0.7374, allocations: 29.84 kB / 0.5414 GB, free: 158.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003015/0.7377, allocations: 227.7 kB / 0.5416 GB, free: 158.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7377, allocations: 4 kB / 0.5416 GB, free: 158.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001926/0.7397, allocations: 455.5 kB / 0.542 GB, free: 158.7 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.001317/0.741, allocations: 0.5757 MB / 0.5426 GB, free: 158.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00238/0.7434, allocations: 1.059 MB / 0.5436 GB, free: 158.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.7434, allocations: 1.375 kB / 0.5436 GB, free: 158.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009825/0.7444, allocations: 421.3 kB / 0.544 GB, free: 157.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.7459, allocations: 309.1 kB / 0.5443 GB, free: 157.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.749, allocations: 1.495 MB / 0.5458 GB, free: 157 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.7493, allocations: 0.8483 MB / 0.5466 GB, free: 156.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005644/0.7499, allocations: 135.4 kB / 0.5467 GB, free: 156.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.7501, allocations: 54.86 kB / 0.5468 GB, free: 156.2 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.7501, allocations: 0 / 0.5468 GB, free: 156.2 MB / 430.1 MB Notification: Performance of Templates: time 0.02616/0.7762, allocations: 21.89 MB / 0.5682 GB, free: 136.9 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)