Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007482/0.0007483, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009158/0.0009158, allocations: 172.7 kB / 15.95 MB, free: 208 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.366/1.366, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.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: Performance of FrontEnd - loaded program: time 0.000806/0.0008062, allocations: 17.19 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2486, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5726/0.8212, allocations: 134.5 MB / 0.9186 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001129/0.8214, allocations: 55.45 kB / 0.9186 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.8214, allocations: 0 / 0.9186 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.675e-05/0.8215, allocations: 3.969 kB / 0.9186 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.8216, allocations: 11.91 kB / 0.9186 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.8222, allocations: 141 kB / 0.9188 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.755e-05/0.8223, allocations: 48.61 kB / 0.9188 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.8223, allocations: 1.984 kB / 0.9188 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.8224, allocations: 18.97 kB / 0.9188 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.8224, allocations: 11.59 kB / 0.9188 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.8225, allocations: 1.25 kB / 0.9188 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.8228, allocations: 100.9 kB / 0.9189 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.8229, allocations: 5.078 kB / 0.9189 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.8229, allocations: 33.8 kB / 0.919 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.8231, allocations: 52.25 kB / 0.919 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8231, allocations: 0.6875 kB / 0.919 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8231, allocations: 3.938 kB / 0.919 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.8231, allocations: 0 / 0.919 GB, free: 6.203 MB / 0.7169 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.0006212/0.8237, allocations: 339.2 kB / 0.9194 GB, free: 21.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.8238, allocations: 9.188 kB / 0.9194 GB, free: 21.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.8241, allocations: 27.25 kB / 0.9194 GB, free: 21.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.8242, allocations: 165 kB / 0.9195 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.674e-05/0.8243, allocations: 29.97 kB / 0.9196 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.8243, allocations: 0.9375 kB / 0.9196 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.8244, allocations: 55.17 kB / 0.9196 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.8244, allocations: 0 / 0.9196 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.8245, allocations: 1.469 kB / 0.9196 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.8245, allocations: 7.266 kB / 0.9196 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.818e-05/0.8245, allocations: 23.58 kB / 0.9197 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.8249, allocations: 255.2 kB / 0.9199 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.043e-05/0.8249, allocations: 27.19 kB / 0.9199 GB, free: 21.28 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.825, allocations: 7.344 kB / 0.9199 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.8251, allocations: 93.95 kB / 0.92 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.8251, allocations: 34.34 kB / 0.9201 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.8251, allocations: 0 / 0.9201 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002296/0.8254, allocations: 55.02 kB / 0.9201 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.8254, allocations: 56.47 kB / 0.9202 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.8255, allocations: 105.2 kB / 0.9203 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.8255, allocations: 26.73 kB / 0.9203 GB, free: 20.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.8256, allocations: 85.73 kB / 0.9204 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.8256, allocations: 5.656 kB / 0.9204 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.8256, allocations: 4.312 kB / 0.9204 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.8257, allocations: 313.2 kB / 0.9207 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.8257, allocations: 5.578 kB / 0.9207 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/0.8258, allocations: 28.62 kB / 0.9207 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/0.8258, allocations: 5.844 kB / 0.9207 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8258, allocations: 0 / 0.9207 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.314e-05/0.8259, allocations: 57.48 kB / 0.9208 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.8259, allocations: 5.844 kB / 0.9208 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.8259, allocations: 1 kB / 0.9208 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.8259, allocations: 9.797 kB / 0.9208 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.826, allocations: 5.828 kB / 0.9208 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.826, allocations: 2.609 kB / 0.9208 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.826, allocations: 1.031 kB / 0.9208 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.826, allocations: 6.141 kB / 0.9208 GB, free: 20.44 MB / 0.7325 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 7.789e-05/0.8261, allocations: 110.7 kB / 0.9209 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.8262, allocations: 9.078 kB / 0.9209 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.8262, allocations: 8.469 kB / 0.9209 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.8262, allocations: 12.89 kB / 0.9209 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8262, allocations: 0.7031 kB / 0.9209 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.8262, allocations: 0.9688 kB / 0.9209 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.8265, allocations: 359.2 kB / 0.9213 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8265, allocations: 0 / 0.9213 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.8265, allocations: 3.875 kB / 0.9213 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.8265, allocations: 5.344 kB / 0.9213 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.8266, allocations: 2.594 kB / 0.9213 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8266, allocations: 5.625 kB / 0.9213 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8266, allocations: 0.6562 kB / 0.9213 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.982e-05/0.8266, allocations: 67.69 kB / 0.9214 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.8267, allocations: 79.61 kB / 0.9214 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.8267, allocations: 5.297 kB / 0.9214 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.8268, allocations: 13.7 kB / 0.9215 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.8268, allocations: 2.516 kB / 0.9215 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.8268, allocations: 0.9062 kB / 0.9215 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.8269, allocations: 80.03 kB / 0.9215 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8269, allocations: 2.531 kB / 0.9215 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001905/0.8271, allocations: 10.48 kB / 0.9215 GB, free: 19.66 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001263/0.8272, allocations: 102.1 kB / 0.9216 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.469e-05/0.8273, allocations: 16.25 kB / 0.9217 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8273, allocations: 4.141 kB / 0.9217 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.8273, allocations: 8.516 kB / 0.9217 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.8276, allocations: 4.281 kB / 0.9217 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002509/0.8278, allocations: 135.8 kB / 0.9218 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.8281, allocations: 0.6759 MB / 0.9225 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.614e-05/0.8282, allocations: 5.672 kB / 0.9225 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.8282, allocations: 10.53 kB / 0.9225 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.8282, allocations: 0 / 0.9225 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of Templates: time 0.002551/0.8308, allocations: 0.5067 MB / 0.923 GB, free: 18.68 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: