Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.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.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008766/0.008766, allocations: 101.2 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.001211/0.001211, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.587/1.587, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.6534/0.6534, allocations: 95.48 MB / 365.4 MB, free: 9.793 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.001716/0.001716, allocations: 75.88 kB / 0.5036 GB, free: 13.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1562, allocations: 69.09 MB / 0.5711 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.5746/0.7308, allocations: 160.8 MB / 0.7281 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002157/0.731, allocations: 138.3 kB / 0.7283 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.7311, allocations: 0 / 0.7283 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.7313, allocations: 3.938 kB / 0.7283 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.613e-05/0.7314, allocations: 12.47 kB / 0.7283 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008998/0.7323, allocations: 223.6 kB / 0.7285 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.7324, allocations: 31.84 kB / 0.7285 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.7325, allocations: 0 / 0.7285 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.468e-05/0.7326, allocations: 15.98 kB / 0.7286 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.292e-05/0.7327, allocations: 11.92 kB / 0.7286 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.7327, allocations: 4 kB / 0.7286 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007167/0.7334, allocations: 278.3 kB / 0.7288 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.857e-05/0.7335, allocations: 11.98 kB / 0.7288 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.7335, allocations: 4 kB / 0.7288 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.7339, allocations: 159.2 kB / 0.729 GB, free: 12.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.7339, allocations: 0 / 0.729 GB, free: 12.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7339, allocations: 0 / 0.729 GB, free: 12.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.7339, allocations: 0 / 0.729 GB, free: 12.8 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.0006417/0.7346, allocations: 359.3 kB / 0.7293 GB, free: 12.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.7346, allocations: 19.92 kB / 0.7294 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.7346, allocations: 0 / 0.7294 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.7348, allocations: 167.1 kB / 0.7295 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.719e-05/0.7349, allocations: 37.62 kB / 0.7296 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.7349, allocations: 3.938 kB / 0.7296 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.735, allocations: 45.69 kB / 0.7296 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.735, allocations: 0 / 0.7296 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.735, allocations: 7.625 kB / 0.7296 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.7351, allocations: 0 / 0.7296 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.139e-05/0.7351, allocations: 23.98 kB / 0.7296 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.7357, allocations: 365.8 kB / 0.73 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.7357, allocations: 18.58 kB / 0.73 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.7357, allocations: 12.91 kB / 0.73 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.7357, allocations: 0 / 0.73 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.7358, allocations: 30.56 kB / 0.73 GB, free: 11.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.7358, allocations: 4 kB / 0.73 GB, free: 11.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.7359, allocations: 37.64 kB / 0.7301 GB, free: 11.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.736, allocations: 51.41 kB / 0.7301 GB, free: 11.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.7361, allocations: 105.8 kB / 0.7302 GB, free: 11.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.7361, allocations: 25.7 kB / 0.7303 GB, free: 11.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.7361, allocations: 88.05 kB / 0.7303 GB, free: 11.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.775e-06/0.7362, allocations: 7.891 kB / 0.7303 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.7362, allocations: 21.7 kB / 0.7304 GB, free: 11.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.7363, allocations: 322.9 kB / 0.7307 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.7363, allocations: 4 kB / 0.7307 GB, free: 10.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.7364, allocations: 22.56 kB / 0.7307 GB, free: 10.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.998e-05/0.7364, allocations: 30.52 kB / 0.7307 GB, free: 10.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7364, allocations: 4 kB / 0.7307 GB, free: 10.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.462e-05/0.7365, allocations: 57.62 kB / 0.7308 GB, free: 10.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.7365, allocations: 4 kB / 0.7308 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7366, allocations: 0 / 0.7308 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.7366, allocations: 0 / 0.7308 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.968e-05/0.7366, allocations: 11.98 kB / 0.7308 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.7366, allocations: 0 / 0.7308 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.7367, allocations: 8 kB / 0.7308 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.7367, allocations: 3.938 kB / 0.7308 GB, free: 10.67 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.302e-05/0.7368, allocations: 121.9 kB / 0.7309 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.7368, allocations: 7.844 kB / 0.7309 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.737, allocations: 128.2 kB / 0.7311 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.303e-05/0.737, allocations: 180.2 kB / 0.7312 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.83e-05/0.7371, allocations: 184.2 kB / 0.7314 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.164e-05/0.7372, allocations: 180.3 kB / 0.7316 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.7375, allocations: 417 kB / 0.732 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.694e-05/0.7375, allocations: 101 kB / 0.7321 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.7376, allocations: 105 kB / 0.7322 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-05/0.7377, allocations: 180.2 kB / 0.7323 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.05e-05/0.7377, allocations: 180.3 kB / 0.7325 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.965e-05/0.7378, allocations: 184.2 kB / 0.7327 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-05/0.7379, allocations: 180.3 kB / 0.7329 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.7381, allocations: 308.2 kB / 0.7332 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.526e-05/0.7382, allocations: 186.8 kB / 0.7333 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.7383, allocations: 192.2 kB / 0.7335 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.7384, allocations: 105 kB / 0.7336 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.7385, allocations: 188.2 kB / 0.7338 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.022e-05/0.7386, allocations: 104.9 kB / 0.7339 GB, free: 7.301 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.7386, allocations: 91.2 kB / 0.734 GB, free: 7.211 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7386, allocations: 0 / 0.734 GB, free: 7.211 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003341/0.739, allocations: 40 kB / 0.734 GB, free: 7.172 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.0003522/0.7393, allocations: 234.4 kB / 0.7342 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.525e-05/0.7394, allocations: 23.92 kB / 0.7343 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7394, allocations: 0 / 0.7343 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.7394, allocations: 0 / 0.7343 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.7398, allocations: 459.9 kB / 0.7347 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.7401, allocations: 178.4 kB / 0.7349 GB, free: 6.258 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.7404, allocations: 0.669 MB / 0.7355 GB, free: 5.562 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.64e-05/0.7404, allocations: 20.17 kB / 0.7356 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.7405, allocations: 7.438 kB / 0.7356 GB, free: 5.535 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.7405, allocations: 0 / 0.7356 GB, free: 5.535 MB / 0.545 GB Notification: Performance of Templates: time 0.00356/0.744, allocations: 1.12 MB / 0.7367 GB, free: 4.469 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)