Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.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.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01083/0.01083, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.002382/0.002382, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.626/1.626, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.6423/0.6423, allocations: 95.48 MB / 365.4 MB, free: 9.77 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.001803/0.001803, allocations: 75.88 kB / 0.5036 GB, free: 13.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.181, allocations: 69.08 MB / 0.5711 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion): time 0.661/0.8421, allocations: 158.9 MB / 0.7262 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 7.874e-05/0.8422, allocations: 30.7 kB / 0.7263 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.8423, allocations: 3.938 kB / 0.7263 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.8424, allocations: 3.984 kB / 0.7263 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.765e-05/0.8425, allocations: 11.92 kB / 0.7263 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.8445, allocations: 0.5589 MB / 0.7268 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.609e-05/0.8446, allocations: 27.86 kB / 0.7268 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.8447, allocations: 7.75 kB / 0.7269 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.8447, allocations: 23.91 kB / 0.7269 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.8448, allocations: 8 kB / 0.7269 GB, free: 15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.8448, allocations: 0 / 0.7269 GB, free: 15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.8459, allocations: 0.6322 MB / 0.7275 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.846, allocations: 11.92 kB / 0.7275 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.846, allocations: 7.938 kB / 0.7275 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000625/0.8467, allocations: 391.2 kB / 0.7279 GB, free: 13.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.8467, allocations: 0 / 0.7279 GB, free: 13.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8467, allocations: 4 kB / 0.7279 GB, free: 13.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.8467, allocations: 0 / 0.7279 GB, free: 13.96 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005001/0.8472, allocations: 407.2 kB / 0.7283 GB, free: 13.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.8473, allocations: 11.98 kB / 0.7283 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.8473, allocations: 4 kB / 0.7283 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.8474, allocations: 159.1 kB / 0.7285 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.258e-05/0.8475, allocations: 25.7 kB / 0.7285 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.8475, allocations: 4 kB / 0.7285 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.8476, allocations: 57.61 kB / 0.7285 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.8477, allocations: 3.938 kB / 0.7285 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.8477, allocations: 0 / 0.7285 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.8477, allocations: 4 kB / 0.7285 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.713e-05/0.8478, allocations: 27.97 kB / 0.7286 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.8482, allocations: 268.8 kB / 0.7288 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.142e-05/0.8482, allocations: 14.64 kB / 0.7288 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.8482, allocations: 12.86 kB / 0.7289 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.8483, allocations: 7.875 kB / 0.7289 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.8483, allocations: 34.56 kB / 0.7289 GB, free: 12.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.8483, allocations: 0 / 0.7289 GB, free: 12.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001445/0.8485, allocations: 33.69 kB / 0.7289 GB, free: 12.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.8485, allocations: 51.41 kB / 0.729 GB, free: 12.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.8486, allocations: 101.9 kB / 0.7291 GB, free: 12.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.8486, allocations: 29.81 kB / 0.7291 GB, free: 12.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.8487, allocations: 96.05 kB / 0.7292 GB, free: 12.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.8487, allocations: 3.906 kB / 0.7292 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.8487, allocations: 13.72 kB / 0.7292 GB, free: 12.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.8489, allocations: 318.8 kB / 0.7295 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.8489, allocations: 11.92 kB / 0.7295 GB, free: 12.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/0.8489, allocations: 18.58 kB / 0.7295 GB, free: 12.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.849, allocations: 34.56 kB / 0.7296 GB, free: 12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.849, allocations: 3.938 kB / 0.7296 GB, free: 12 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.492e-05/0.8491, allocations: 61.62 kB / 0.7296 GB, free: 11.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.8491, allocations: 4 kB / 0.7296 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8491, allocations: 0 / 0.7296 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.8491, allocations: 4 kB / 0.7296 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.084e-05/0.8492, allocations: 12.03 kB / 0.7297 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.8492, allocations: 0 / 0.7297 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.8492, allocations: 7.906 kB / 0.7297 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.8492, allocations: 4 kB / 0.7297 GB, free: 11.9 MB / 0.545 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.957e-05/0.8493, allocations: 117.7 kB / 0.7298 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.8494, allocations: 0 / 0.7298 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.8495, allocations: 124.9 kB / 0.7299 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.368e-05/0.8496, allocations: 184.3 kB / 0.7301 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.265e-05/0.8497, allocations: 180.2 kB / 0.7302 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-05/0.8497, allocations: 180.2 kB / 0.7304 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.85, allocations: 409.2 kB / 0.7308 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.467e-05/0.85, allocations: 105.8 kB / 0.7309 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.8501, allocations: 105 kB / 0.731 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.893e-05/0.8502, allocations: 180.3 kB / 0.7312 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-05/0.8502, allocations: 180.2 kB / 0.7314 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.467e-05/0.8503, allocations: 188.2 kB / 0.7315 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.433e-05/0.8504, allocations: 182 kB / 0.7317 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.8506, allocations: 307.7 kB / 0.732 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-05/0.8507, allocations: 194 kB / 0.7322 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.8508, allocations: 176.3 kB / 0.7324 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.8509, allocations: 108.9 kB / 0.7325 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/0.851, allocations: 176.5 kB / 0.7326 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.8511, allocations: 109 kB / 0.7327 GB, free: 8.543 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.8511, allocations: 87.28 kB / 0.7328 GB, free: 8.457 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.553e-06/0.8511, allocations: 0 / 0.7328 GB, free: 8.457 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004177/0.8515, allocations: 111.9 kB / 0.7329 GB, free: 8.348 MB / 0.545 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007589/0.8523, allocations: 367.9 kB / 0.7333 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.8524, allocations: 15.92 kB / 0.7333 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8524, allocations: 0 / 0.7333 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.8524, allocations: 0 / 0.7333 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.8529, allocations: 470.8 kB / 0.7337 GB, free: 7.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.8532, allocations: 178.4 kB / 0.7339 GB, free: 7.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.8535, allocations: 0.6768 MB / 0.7346 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.155e-05/0.8535, allocations: 4.25 kB / 0.7346 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.8536, allocations: 15.44 kB / 0.7346 GB, free: 6.598 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.8536, allocations: 0 / 0.7346 GB, free: 6.598 MB / 0.545 GB Notification: Performance of Templates: time 0.005406/0.859, allocations: 2.309 MB / 0.7368 GB, free: 4.312 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1)