Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) 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(Buildings.Media.PerfectGases.Examples.MoistAirComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001022/0.001022, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5902/0.5902, allocations: 95.58 MB / 366 MB, free: 10.35 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005773/0.0005774, allocations: 20 kB / 446.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3327, allocations: 70.33 MB / 0.505 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirComparison): time 0.001132/0.3339, allocations: 1.103 MB / 0.5061 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.4252/0.7591, allocations: 133.5 MB / 0.6364 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.7592, allocations: 0.5312 kB / 0.6364 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.505e-05/0.7593, allocations: 5.484 kB / 0.6364 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/0.7594, allocations: 16.53 kB / 0.6364 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.7614, allocations: 0.5845 MB / 0.637 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.258e-05/0.7615, allocations: 43.48 kB / 0.637 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.7615, allocations: 6.969 kB / 0.637 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.7616, allocations: 25.67 kB / 0.6371 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.7617, allocations: 35.16 kB / 0.6371 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.7617, allocations: 3.312 kB / 0.6371 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.7633, allocations: 0.8347 MB / 0.6379 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.7634, allocations: 14.25 kB / 0.6379 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.7635, allocations: 32.64 kB / 0.638 GB, free: 17.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006975/0.7642, allocations: 377.8 kB / 0.6383 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.7642, allocations: 0 / 0.6383 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7642, allocations: 0 / 0.6383 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.7643, allocations: 0 / 0.6383 GB, free: 17.86 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005917/0.7649, allocations: 481.4 kB / 0.6388 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.7649, allocations: 12.95 kB / 0.6388 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.7649, allocations: 14.75 kB / 0.6388 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.765, allocations: 166.3 kB / 0.639 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.7651, allocations: 6.469 kB / 0.639 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.7651, allocations: 4.031 kB / 0.639 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.7653, allocations: 118.4 kB / 0.6391 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.7653, allocations: 1.469 kB / 0.6391 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.7653, allocations: 4.656 kB / 0.6391 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.7654, allocations: 4.656 kB / 0.6391 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.7656, allocations: 123.8 kB / 0.6392 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.766, allocations: 345.4 kB / 0.6396 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.7662, allocations: 104.2 kB / 0.6396 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/0.7665, allocations: 339.2 kB / 0.64 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.7666, allocations: 33.31 kB / 0.64 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.7666, allocations: 0 / 0.64 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000309/0.7669, allocations: 153.8 kB / 0.6402 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.7669, allocations: 53.81 kB / 0.6402 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/0.767, allocations: 104.4 kB / 0.6403 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.767, allocations: 31.11 kB / 0.6403 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.7671, allocations: 89.72 kB / 0.6404 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.7671, allocations: 52.92 kB / 0.6405 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.7671, allocations: 0.875 kB / 0.6405 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.7672, allocations: 319 kB / 0.6408 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.542e-05/0.7673, allocations: 28.61 kB / 0.6408 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.793e-05/0.7674, allocations: 58.75 kB / 0.6409 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.211e-05/0.7675, allocations: 48.25 kB / 0.6409 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7675, allocations: 0 / 0.6409 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001928/0.7677, allocations: 122.8 kB / 0.641 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.7677, allocations: 4.938 kB / 0.641 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7677, allocations: 0.9375 kB / 0.641 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.7677, allocations: 2.391 kB / 0.641 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.7679, allocations: 42.58 kB / 0.6411 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7679, allocations: 9.281 kB / 0.6411 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.768, allocations: 9.906 kB / 0.6411 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.768, allocations: 11.84 kB / 0.6411 GB, free: 15.71 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.586e-05/0.7681, allocations: 122.3 kB / 0.6412 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.7682, allocations: 8 kB / 0.6412 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.7685, allocations: 159.2 kB / 0.6414 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.7685, allocations: 5.438 kB / 0.6414 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7685, allocations: 0.5156 kB / 0.6414 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.7685, allocations: 5.828 kB / 0.6414 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.7687, allocations: 191.4 kB / 0.6416 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7687, allocations: 1.094 kB / 0.6416 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.7689, allocations: 36.78 kB / 0.6416 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7689, allocations: 1.062 kB / 0.6416 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.7689, allocations: 10.86 kB / 0.6416 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.7689, allocations: 1.234 kB / 0.6416 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7689, allocations: 1.75 kB / 0.6416 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.7692, allocations: 226 kB / 0.6418 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.7692, allocations: 90.39 kB / 0.6419 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.7692, allocations: 2.344 kB / 0.6419 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.7694, allocations: 8.391 kB / 0.6419 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.7694, allocations: 9.469 kB / 0.6419 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.7694, allocations: 11.44 kB / 0.6419 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.719e-05/0.7695, allocations: 84 kB / 0.642 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7695, allocations: 1.031 kB / 0.642 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005562/0.77, allocations: 176.2 kB / 0.6422 GB, free: 14.99 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007785/0.7708, allocations: 361.7 kB / 0.6425 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.771, allocations: 87.59 kB / 0.6426 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.771, allocations: 0 / 0.6426 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.715e-05/0.7711, allocations: 52.12 kB / 0.6427 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.7713, allocations: 8.531 kB / 0.6427 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.7717, allocations: 230.9 kB / 0.6429 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.7719, allocations: 0.6931 MB / 0.6436 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.7721, allocations: 31.91 kB / 0.6436 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.7721, allocations: 17.89 kB / 0.6436 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.7721, allocations: 1.859 kB / 0.6436 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.006771/0.7789, allocations: 3.622 MB / 0.6472 GB, free: 13.58 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe 2>&1) Environment - environmentSimulation: