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.006409/0.006409, allocations: 98.8 kB / 15.73 MB, free: 6.047 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.001445/0.001446, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.568/1.568, allocations: 205.1 MB / 222.6 MB, free: 4.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.6977/0.6977, allocations: 95.47 MB / 365.4 MB, free: 9.785 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.001483/0.001483, allocations: 71.84 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1507, allocations: 69.08 MB / 0.5711 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion): time 0.5775/0.7282, allocations: 158.9 MB / 0.7262 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 7.21e-05/0.7283, allocations: 27.95 kB / 0.7263 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.7284, allocations: 0 / 0.7263 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.7286, allocations: 7.922 kB / 0.7263 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.932e-05/0.7286, allocations: 8 kB / 0.7263 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.7304, allocations: 0.5586 MB / 0.7268 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.323e-05/0.7305, allocations: 36.75 kB / 0.7269 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.7305, allocations: 0 / 0.7269 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.7306, allocations: 15.92 kB / 0.7269 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.477e-05/0.7307, allocations: 15.92 kB / 0.7269 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.7307, allocations: 0 / 0.7269 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.7319, allocations: 0.6283 MB / 0.7275 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.7319, allocations: 7.984 kB / 0.7275 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.732, allocations: 15.92 kB / 0.7275 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006663/0.7327, allocations: 386.7 kB / 0.7279 GB, free: 13.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7327, allocations: 3.75 kB / 0.7279 GB, free: 13.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7327, allocations: 4 kB / 0.7279 GB, free: 13.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.7327, allocations: 0 / 0.7279 GB, free: 13.91 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.0005409/0.7332, allocations: 430.3 kB / 0.7283 GB, free: 13.44 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.7333, allocations: 11.98 kB / 0.7283 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.7333, allocations: 4 kB / 0.7283 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.7335, allocations: 159.1 kB / 0.7285 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.563e-05/0.7335, allocations: 25.7 kB / 0.7285 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.7336, allocations: 4 kB / 0.7285 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.7337, allocations: 53.67 kB / 0.7286 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.7337, allocations: 3.938 kB / 0.7286 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.7338, allocations: 0 / 0.7286 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.7338, allocations: 4 kB / 0.7286 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.628e-05/0.7339, allocations: 23.92 kB / 0.7286 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.7343, allocations: 260.9 kB / 0.7288 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.012e-05/0.7343, allocations: 14.58 kB / 0.7289 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.7344, allocations: 16.86 kB / 0.7289 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.7344, allocations: 0 / 0.7289 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.7344, allocations: 34.56 kB / 0.7289 GB, free: 12.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.7344, allocations: 0 / 0.7289 GB, free: 12.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001655/0.7346, allocations: 45.58 kB / 0.7289 GB, free: 12.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.7346, allocations: 51.41 kB / 0.729 GB, free: 12.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.7347, allocations: 105.8 kB / 0.7291 GB, free: 12.49 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.7348, allocations: 29.83 kB / 0.7291 GB, free: 12.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.7348, allocations: 88.08 kB / 0.7292 GB, free: 12.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.207e-06/0.7348, allocations: 7.953 kB / 0.7292 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.7349, allocations: 17.72 kB / 0.7292 GB, free: 12.33 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.735, allocations: 314.8 kB / 0.7295 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.735, allocations: 7.984 kB / 0.7295 GB, free: 12.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.085e-05/0.7351, allocations: 22.58 kB / 0.7296 GB, free: 11.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/0.7351, allocations: 38.5 kB / 0.7296 GB, free: 11.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7351, allocations: 0 / 0.7296 GB, free: 11.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.843e-05/0.7352, allocations: 57.62 kB / 0.7297 GB, free: 11.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.7353, allocations: 4 kB / 0.7297 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7353, allocations: 0 / 0.7297 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7353, allocations: 0 / 0.7297 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.7354, allocations: 12.09 kB / 0.7297 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7354, allocations: 0 / 0.7297 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.7354, allocations: 4.281 kB / 0.7297 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.7354, allocations: 0 / 0.7297 GB, free: 11.85 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 9.586e-05/0.7355, allocations: 129.6 kB / 0.7298 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.7356, allocations: 3.953 kB / 0.7298 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.7357, allocations: 120.9 kB / 0.7299 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000127/0.7359, allocations: 180.3 kB / 0.7301 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.155e-05/0.736, allocations: 192.2 kB / 0.7303 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.788e-05/0.7361, allocations: 176.3 kB / 0.7304 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.7365, allocations: 409.1 kB / 0.7308 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.906e-05/0.7366, allocations: 105 kB / 0.7309 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.7367, allocations: 108.9 kB / 0.731 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.779e-05/0.7368, allocations: 176.3 kB / 0.7312 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.895e-05/0.7369, allocations: 187.6 kB / 0.7314 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001595/0.7371, allocations: 184.2 kB / 0.7316 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.108e-05/0.7371, allocations: 180.2 kB / 0.7317 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.7375, allocations: 311.7 kB / 0.732 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.7376, allocations: 186.1 kB / 0.7322 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.7377, allocations: 184.1 kB / 0.7324 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.7379, allocations: 101 kB / 0.7325 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/0.738, allocations: 188.2 kB / 0.7327 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.7381, allocations: 109.3 kB / 0.7328 GB, free: 8.473 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.682e-05/0.7382, allocations: 79.28 kB / 0.7328 GB, free: 8.395 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7382, allocations: 0 / 0.7328 GB, free: 8.395 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005445/0.7387, allocations: 107.6 kB / 0.7329 GB, free: 8.289 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.001005/0.7397, allocations: 364.9 kB / 0.7333 GB, free: 7.934 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.7399, allocations: 19.92 kB / 0.7333 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7399, allocations: 0 / 0.7333 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.7399, allocations: 0 / 0.7333 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.7404, allocations: 459.8 kB / 0.7337 GB, free: 7.461 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.7407, allocations: 185.9 kB / 0.7339 GB, free: 7.254 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.741, allocations: 0.6729 MB / 0.7346 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.094e-05/0.741, allocations: 11.17 kB / 0.7346 GB, free: 6.547 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.7411, allocations: 11.44 kB / 0.7346 GB, free: 6.535 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.7411, allocations: 3.938 kB / 0.7346 GB, free: 6.531 MB / 0.545 GB Notification: Performance of Templates: time 0.005326/0.7464, allocations: 2.301 MB / 0.7369 GB, free: 4.277 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.makefile (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)