Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.000966/0.0009661, allocations: 99.86 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.001018/0.001018, allocations: 177.3 kB / 15.94 MB, free: 228 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.668/1.668, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.637/1.637, allocations: 251.9 MB / 0.51 GB, free: 4.863 MB / 414.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.0006248/0.0006251, allocations: 12 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6644/0.665, allocations: 106.3 MB / 0.7279 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1604/0.8255, allocations: 125.3 MB / 0.8503 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0004008/0.826, allocations: 143.6 kB / 0.8504 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.8261, allocations: 0 / 0.8504 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.8263, allocations: 7.938 kB / 0.8504 GB, free: 13.67 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.8264, allocations: 3.984 kB / 0.8504 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.8274, allocations: 143.6 kB / 0.8506 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 9.459e-05/0.8275, allocations: 19.97 kB / 0.8506 GB, free: 13.5 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 6.235e-05/0.8276, allocations: 0 / 0.8506 GB, free: 13.5 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.731e-05/0.8276, allocations: 19.92 kB / 0.8506 GB, free: 13.48 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.8277, allocations: 4 kB / 0.8506 GB, free: 13.48 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.8277, allocations: 0 / 0.8506 GB, free: 13.48 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.8282, allocations: 107.8 kB / 0.8507 GB, free: 13.38 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.8282, allocations: 15.92 kB / 0.8507 GB, free: 13.36 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.8283, allocations: 29.69 kB / 0.8507 GB, free: 13.32 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.8285, allocations: 45.92 kB / 0.8508 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.8285, allocations: 4 kB / 0.8508 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.186e-06/0.8285, allocations: 4 kB / 0.8508 GB, free: 13.27 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.8285, allocations: 0 / 0.8508 GB, free: 13.27 MB / 0.67 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.0004622/0.829, allocations: 331.4 kB / 0.8511 GB, free: 12.9 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.829, allocations: 12.03 kB / 0.8511 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/0.8295, allocations: 23.92 kB / 0.8512 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.8296, allocations: 167.1 kB / 0.8513 GB, free: 12.66 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.751e-05/0.8297, allocations: 29.69 kB / 0.8513 GB, free: 12.63 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.8298, allocations: 4 kB / 0.8513 GB, free: 12.62 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.8299, allocations: 49.62 kB / 0.8514 GB, free: 12.57 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.83, allocations: 0 / 0.8514 GB, free: 12.57 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.83, allocations: 4 kB / 0.8514 GB, free: 12.57 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.83, allocations: 0 / 0.8514 GB, free: 12.57 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.497e-05/0.8301, allocations: 23.94 kB / 0.8514 GB, free: 12.54 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.8305, allocations: 256.9 kB / 0.8517 GB, free: 12.24 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 6.777e-05/0.8306, allocations: 26.58 kB / 0.8517 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.8307, allocations: 3.938 kB / 0.8517 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.8307, allocations: 42.61 kB / 0.8517 GB, free: 12.15 MB / 0.67 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.8307, allocations: 0 / 0.8517 GB, free: 12.15 MB / 0.67 GB Notification: Performance of matching and sorting (n=2): time 0.0003296/0.831, allocations: 49.64 kB / 0.8518 GB, free: 12.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.8311, allocations: 55.41 kB / 0.8518 GB, free: 12.03 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.8313, allocations: 109.9 kB / 0.8519 GB, free: 11.91 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.8313, allocations: 25.7 kB / 0.852 GB, free: 11.88 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.8314, allocations: 88.05 kB / 0.852 GB, free: 11.79 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.8314, allocations: 11.84 kB / 0.8521 GB, free: 11.78 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.8314, allocations: 0 / 0.8521 GB, free: 11.78 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.8316, allocations: 310.8 kB / 0.8524 GB, free: 11.47 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.306e-05/0.8316, allocations: 15.92 kB / 0.8524 GB, free: 11.45 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/0.8317, allocations: 17.66 kB / 0.8524 GB, free: 11.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.756e-05/0.8317, allocations: 16 kB / 0.8524 GB, free: 11.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8317, allocations: 0 / 0.8524 GB, free: 11.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001215/0.8319, allocations: 53.67 kB / 0.8525 GB, free: 11.36 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.8319, allocations: 7.938 kB / 0.8525 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.8319, allocations: 0 / 0.8525 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.8319, allocations: 4 kB / 0.8525 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/0.832, allocations: 7.953 kB / 0.8525 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.8321, allocations: 3.984 kB / 0.8525 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.8321, allocations: 32 / 0.8525 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.8321, allocations: 8 kB / 0.8525 GB, free: 11.32 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 0.0001232/0.8322, allocations: 109.8 kB / 0.8526 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.8323, allocations: 4.328 kB / 0.8526 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.8323, allocations: 11.11 kB / 0.8526 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.8323, allocations: 0 / 0.8526 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.8324, allocations: 7.938 kB / 0.8526 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8324, allocations: 0 / 0.8526 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.8328, allocations: 371.5 kB / 0.853 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.8328, allocations: 0 / 0.853 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.8329, allocations: 0 / 0.853 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.8329, allocations: 4 kB / 0.853 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.8329, allocations: 7.953 kB / 0.853 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.8329, allocations: 0 / 0.853 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8329, allocations: 0 / 0.853 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.8331, allocations: 91.7 kB / 0.8531 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.8331, allocations: 85.06 kB / 0.8531 GB, free: 10.53 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.8332, allocations: 3.984 kB / 0.8531 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.942e-05/0.8333, allocations: 4 kB / 0.8532 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.8333, allocations: 0 / 0.8532 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.8333, allocations: 0 / 0.8532 GB, free: 10.52 MB / 0.67 GB Notification: Performance of sorting global known variables: time 5.809e-05/0.8334, allocations: 91.3 kB / 0.8532 GB, free: 10.43 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.464e-06/0.8334, allocations: 0 / 0.8532 GB, free: 10.43 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002095/0.8336, allocations: 11.94 kB / 0.8532 GB, free: 10.42 MB / 0.67 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.0002637/0.8339, allocations: 111.1 kB / 0.8534 GB, free: 10.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.834, allocations: 19.92 kB / 0.8534 GB, free: 10.28 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.834, allocations: 4 kB / 0.8534 GB, free: 10.28 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 3.71e-05/0.8341, allocations: 8.125 kB / 0.8534 GB, free: 10.27 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.8343, allocations: 6.75 kB / 0.8534 GB, free: 10.27 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.8347, allocations: 128.3 kB / 0.8535 GB, free: 10.11 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.8352, allocations: 0.6809 MB / 0.8542 GB, free: 9.406 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.8353, allocations: 8.062 kB / 0.8542 GB, free: 9.398 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.8353, allocations: 15.38 kB / 0.8542 GB, free: 9.383 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/0.8353, allocations: 0 / 0.8542 GB, free: 9.383 MB / 0.67 GB Notification: Performance of Templates: time 0.003906/0.8392, allocations: 499.9 kB / 0.8547 GB, free: 8.895 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: