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.001437/0.001437, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001711/0.001711, allocations: 196.6 kB / 16.26 MB, free: 6.617 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.379/1.379, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.001207/0.001207, allocations: 51.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2637, allocations: 46.63 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5226/0.7864, allocations: 184.3 MB / 0.4972 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007233/0.7937, allocations: 4.761 MB / 0.5019 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006056/0.7943, allocations: 2 kB / 0.5019 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.7955, allocations: 219.3 kB / 0.5021 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.7968, allocations: 356.3 kB / 0.5024 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01129/0.8081, allocations: 2.617 MB / 0.505 GB, free: 8.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002024/0.8102, allocations: 1.17 MB / 0.5061 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003669/0.8106, allocations: 142.7 kB / 0.5063 GB, free: 8.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004753/0.8153, allocations: 1.391 MB / 0.5076 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.8165, allocations: 453.2 kB / 0.508 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.8168, allocations: 62.97 kB / 0.5081 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01162/0.8285, allocations: 4.227 MB / 0.5122 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007348/0.8293, allocations: 233.5 kB / 0.5125 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.8304, allocations: 320.3 kB / 0.5128 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.8426, allocations: 2.997 MB / 0.5157 GB, free: 5.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/0.8427, allocations: 3.984 kB / 0.5157 GB, free: 5.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.8427, allocations: 0 / 0.5157 GB, free: 5.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-05/0.8428, allocations: 0 / 0.5157 GB, free: 5.492 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.006633/0.8494, allocations: 1.136 MB / 0.5168 GB, free: 4.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.958e-05/0.8495, allocations: 12.23 kB / 0.5168 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000812/0.8503, allocations: 59.66 kB / 0.5169 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.8514, allocations: 365.7 kB / 0.5172 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/0.8515, allocations: 38.34 kB / 0.5173 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.8516, allocations: 42.47 kB / 0.5173 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.8532, allocations: 0.5028 MB / 0.5178 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.8533, allocations: 0 / 0.5178 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.801e-05/0.8534, allocations: 17.25 kB / 0.5178 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.8534, allocations: 12.53 kB / 0.5178 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.8548, allocations: 0.597 MB / 0.5184 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004571/0.8594, allocations: 2.179 MB / 0.5205 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.861, allocations: 0.5463 MB / 0.5211 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/0.8615, allocations: 262 kB / 0.5213 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000759/0.8623, allocations: 0.6951 MB / 0.522 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.8624, allocations: 43 kB / 0.522 GB, free: 15.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 4.288e-06/0.8624, allocations: 4 kB / 0.522 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.0183/0.8807, allocations: 3.658 MB / 0.5256 GB, free: 11.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.8808, allocations: 63.97 kB / 0.5257 GB, free: 11.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.8812, allocations: 290.7 kB / 0.5259 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.772e-05/0.8813, allocations: 37.7 kB / 0.526 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.8814, allocations: 193.1 kB / 0.5262 GB, free: 10.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.8816, allocations: 233.8 kB / 0.5264 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.8818, allocations: 114.3 kB / 0.5265 GB, free: 10.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.882, allocations: 350.8 kB / 0.5268 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.8831, allocations: 313.1 kB / 0.5271 GB, free: 9.898 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.8843, allocations: 384.2 kB / 0.5275 GB, free: 9.508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/0.8862, allocations: 0.7125 MB / 0.5282 GB, free: 8.781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.8862, allocations: 0 / 0.5282 GB, free: 8.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002182/0.8884, allocations: 0.9664 MB / 0.5291 GB, free: 7.801 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.8884, allocations: 4.625 kB / 0.5291 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.8885, allocations: 4 kB / 0.5291 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.89, allocations: 334.4 kB / 0.5295 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.8906, allocations: 123.8 kB / 0.5296 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003823/0.8944, allocations: 3.711 MB / 0.5332 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/0.8951, allocations: 52.02 kB / 0.5333 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.8952, allocations: 23.98 kB / 0.5333 GB, free: 3.246 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.0003579/0.8956, allocations: 213.5 kB / 0.5335 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.8957, allocations: 43.53 kB / 0.5335 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.8983, allocations: 1.017 MB / 0.5345 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.8983, allocations: 8 kB / 0.5345 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8983, allocations: 3.938 kB / 0.5345 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002046/0.9004, allocations: 1.067 MB / 0.5356 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.9034, allocations: 1.69 MB / 0.5372 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.9034, allocations: 7.984 kB / 0.5372 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/0.9039, allocations: 111.8 kB / 0.5373 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/0.9056, allocations: 382.5 kB / 0.5377 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.9057, allocations: 23.98 kB / 0.5377 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.907, allocations: 0.8678 MB / 0.5386 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.907, allocations: 0 / 0.5386 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.9096, allocations: 1.333 MB / 0.5399 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.9098, allocations: 116.6 kB / 0.54 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.9099, allocations: 23.91 kB / 0.54 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006712/0.9106, allocations: 59.94 kB / 0.5401 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.9107, allocations: 40.5 kB / 0.5401 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-05/0.9107, allocations: 31.97 kB / 0.5401 GB, free: 12.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.911, allocations: 225.9 kB / 0.5403 GB, free: 11.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.911, allocations: 0 / 0.5403 GB, free: 11.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001508/0.9125, allocations: 451.6 kB / 0.5408 GB, free: 11.35 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.001331/0.9139, allocations: 0.5749 MB / 0.5413 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002318/0.9162, allocations: 1.056 MB / 0.5424 GB, free: 9.719 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.9162, allocations: 4 kB / 0.5424 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008766/0.9171, allocations: 423 kB / 0.5428 GB, free: 9.301 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.9186, allocations: 312.3 kB / 0.5431 GB, free: 8.992 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.9217, allocations: 1.508 MB / 0.5445 GB, free: 7.465 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/0.9224, allocations: 0.8532 MB / 0.5454 GB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005859/0.923, allocations: 124.5 kB / 0.5455 GB, free: 6.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.9231, allocations: 55.42 kB / 0.5456 GB, free: 6.402 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.9231, allocations: 4 kB / 0.5456 GB, free: 6.398 MB / 430.1 MB Notification: Performance of Templates: time 0.03435/0.9575, allocations: 21.87 MB / 0.5669 GB, free: 0.5156 MB / 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)