Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.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.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 100.1 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.001239/0.00124, allocations: 177.3 kB / 15.95 MB, free: 216 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.487/1.487, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.6068/0.6068, allocations: 95.59 MB / 366 MB, free: 10.38 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.0006039/0.0006041, allocations: 16 kB / 446.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2947, allocations: 70.34 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion): time 0.4286/0.7234, allocations: 130.6 MB / 0.6325 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.725, allocations: 1.56 MB / 0.634 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.7251, allocations: 1 kB / 0.634 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.7252, allocations: 3.844 kB / 0.634 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.7253, allocations: 8.5 kB / 0.634 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.7268, allocations: 440.4 kB / 0.6345 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.445e-05/0.7269, allocations: 16.62 kB / 0.6345 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.7269, allocations: 5.047 kB / 0.6345 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.727, allocations: 7.844 kB / 0.6345 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.471e-05/0.727, allocations: 9.25 kB / 0.6345 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.727, allocations: 1.125 kB / 0.6345 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.7283, allocations: 0.5408 MB / 0.635 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.7283, allocations: 10 kB / 0.635 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.7284, allocations: 28.05 kB / 0.6351 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004953/0.7289, allocations: 243.1 kB / 0.6353 GB, free: 1.906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.7289, allocations: 1.344 kB / 0.6353 GB, free: 1.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7289, allocations: 0 / 0.6353 GB, free: 1.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.7289, allocations: 0 / 0.6353 GB, free: 1.906 MB / 494.1 MB 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.0005741/0.7295, allocations: 413.1 kB / 0.6357 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.7295, allocations: 13.8 kB / 0.6357 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.7296, allocations: 0.75 kB / 0.6357 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.7297, allocations: 166 kB / 0.6359 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.842e-05/0.7297, allocations: 27.92 kB / 0.6359 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.7298, allocations: 2.172 kB / 0.6359 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.7299, allocations: 47.66 kB / 0.6359 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.7299, allocations: 0 / 0.6359 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.7299, allocations: 9.438 kB / 0.6359 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.73, allocations: 2.406 kB / 0.6359 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.552e-05/0.73, allocations: 23.58 kB / 0.636 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.7304, allocations: 262 kB / 0.6362 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.659e-05/0.7305, allocations: 24.69 kB / 0.6362 GB, free: 16.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.7305, allocations: 2.172 kB / 0.6362 GB, free: 16.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.7305, allocations: 39.81 kB / 0.6363 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.7305, allocations: 0 / 0.6363 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.7307, allocations: 40.8 kB / 0.6363 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.7307, allocations: 52.19 kB / 0.6364 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.418e-05/0.7308, allocations: 106.3 kB / 0.6365 GB, free: 16.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.7308, allocations: 26.36 kB / 0.6365 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.7308, allocations: 91.92 kB / 0.6366 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-06/0.7309, allocations: 1.5 kB / 0.6366 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.7309, allocations: 128 / 0.6366 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.731, allocations: 317.6 kB / 0.6369 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.731, allocations: 6.453 kB / 0.6369 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.731, allocations: 27.55 kB / 0.6369 GB, free: 16.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.748e-05/0.731, allocations: 10.03 kB / 0.6369 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7311, allocations: 0 / 0.6369 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001008/0.7312, allocations: 67.3 kB / 0.637 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.7312, allocations: 6.031 kB / 0.637 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.7312, allocations: 0.6875 kB / 0.637 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.7312, allocations: 1.5 kB / 0.637 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.862e-05/0.7313, allocations: 8.156 kB / 0.637 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.7313, allocations: 4.953 kB / 0.637 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.7313, allocations: 1.781 kB / 0.637 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.7314, allocations: 2.375 kB / 0.637 GB, free: 16.19 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 (4): * Single equations (assignments): 4 * 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 8.019e-05/0.7314, allocations: 113.9 kB / 0.6371 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.7315, allocations: 1.703 kB / 0.6371 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.7316, allocations: 130.8 kB / 0.6373 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.423e-05/0.7316, allocations: 179.7 kB / 0.6374 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.336e-05/0.7317, allocations: 180.3 kB / 0.6376 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.238e-05/0.7318, allocations: 188.7 kB / 0.6378 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.7319, allocations: 404.7 kB / 0.6382 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/0.732, allocations: 104.3 kB / 0.6383 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.732, allocations: 106.4 kB / 0.6384 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.637e-05/0.7321, allocations: 183.1 kB / 0.6385 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/0.7321, allocations: 178.3 kB / 0.6387 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-05/0.7322, allocations: 185 kB / 0.6389 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.094e-05/0.7322, allocations: 179.8 kB / 0.6391 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.7324, allocations: 311.7 kB / 0.6394 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/0.7324, allocations: 190 kB / 0.6395 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/0.7325, allocations: 191.2 kB / 0.6397 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.7326, allocations: 106.8 kB / 0.6398 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.7327, allocations: 180.7 kB / 0.64 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.7327, allocations: 106 kB / 0.6401 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.7328, allocations: 85.34 kB / 0.6402 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7328, allocations: 1.156 kB / 0.6402 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004371/0.7332, allocations: 101.7 kB / 0.6403 GB, free: 12.84 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 (0): * Single equations (assignments): 0 * 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.0006683/0.7339, allocations: 364.3 kB / 0.6406 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.322e-05/0.734, allocations: 13.95 kB / 0.6406 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.734, allocations: 0 / 0.6406 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.734, allocations: 3.656 kB / 0.6406 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.7343, allocations: 0.5241 MB / 0.6411 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.7346, allocations: 187.1 kB / 0.6413 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.7348, allocations: 0.6785 MB / 0.642 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.015e-05/0.7348, allocations: 11.84 kB / 0.642 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.7349, allocations: 11.2 kB / 0.642 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.7349, allocations: 0 / 0.642 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of Templates: time 0.00569/0.7406, allocations: 2.215 MB / 0.6442 GB, free: 11.03 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: