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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 252 MB / 267.6 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009413/0.0009414, allocations: 173.4 kB / 327.3 MB, free: 2.184 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007524/0.0007525, allocations: 86.12 kB / 0.6829 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003606, allocations: 10.16 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2463, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1782/0.4246, allocations: 134.5 MB / 1.032 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001457/0.4248, allocations: 43.89 kB / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.4249, allocations: 0 / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.425, allocations: 3.984 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.771e-05/0.4251, allocations: 15.92 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007514/0.4259, allocations: 142 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.507e-05/0.426, allocations: 43.84 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.426, allocations: 3.984 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.4261, allocations: 11.94 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.271e-05/0.4262, allocations: 19.97 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.4262, allocations: 4 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000376/0.4266, allocations: 91.67 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.4266, allocations: 11.98 kB / 1.033 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.4267, allocations: 29.7 kB / 1.033 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.4269, allocations: 47.94 kB / 1.033 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.4269, allocations: 11.94 kB / 1.033 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4269, allocations: 3.938 kB / 1.033 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.4269, allocations: 0 / 1.033 GB, free: 8.523 MB / 0.6823 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.0004441/0.4274, allocations: 335.6 kB / 1.033 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4274, allocations: 8.031 kB / 1.033 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003692/0.4278, allocations: 27.92 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.428, allocations: 163.1 kB / 1.033 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/0.428, allocations: 33.7 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.4281, allocations: 3.938 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.4282, allocations: 49.67 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4282, allocations: 0 / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4283, allocations: 0 / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.4283, allocations: 4 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.673e-05/0.4284, allocations: 23.94 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.4288, allocations: 260.9 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.638e-05/0.4288, allocations: 22.52 kB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/0.4289, allocations: 12.92 kB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.429, allocations: 89.09 kB / 1.034 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.4291, allocations: 34.56 kB / 1.034 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 3.596e-06/0.4291, allocations: 4 kB / 1.034 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002712/0.4294, allocations: 53.62 kB / 1.034 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.4294, allocations: 51.41 kB / 1.034 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.822e-05/0.4295, allocations: 113.7 kB / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.4295, allocations: 25.7 kB / 1.034 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.4296, allocations: 84.05 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.4296, allocations: 7.906 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.4296, allocations: 4 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4297, allocations: 319 kB / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.4298, allocations: 4 kB / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.4298, allocations: 22.58 kB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.4298, allocations: 4 kB / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4298, allocations: 0 / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.374e-05/0.4299, allocations: 61.56 kB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.43, allocations: 4 kB / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.43, allocations: 4 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.43, allocations: 3.953 kB / 1.034 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.4301, allocations: 7.984 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.4301, allocations: 4 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.4301, allocations: 4 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.4301, allocations: 7.938 kB / 1.034 GB, free: 6.453 MB / 0.6823 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.797e-05/0.4302, allocations: 109.9 kB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.4303, allocations: 8 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.4303, allocations: 7.062 kB / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4303, allocations: 0 / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4303, allocations: 3.953 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4303, allocations: 3.984 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.4306, allocations: 359.5 kB / 1.035 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4306, allocations: 4 kB / 1.035 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.4307, allocations: 4.062 kB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.4307, allocations: 7.953 kB / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.4307, allocations: 3.984 kB / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4307, allocations: 0 / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4307, allocations: 0 / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.4308, allocations: 74 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.4309, allocations: 81.08 kB / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.4309, allocations: 11.94 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.431, allocations: 4 kB / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.431, allocations: 4 kB / 1.035 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.431, allocations: 0 / 1.035 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.4311, allocations: 83.27 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4311, allocations: 0 / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001986/0.4313, allocations: 8 kB / 1.035 GB, free: 5.578 MB / 0.6823 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.0001378/0.4314, allocations: 107.2 kB / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.645e-05/0.4315, allocations: 11.94 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4315, allocations: 0 / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.4315, allocations: 4 kB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.4318, allocations: 12.67 kB / 1.035 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.4321, allocations: 163.6 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.4324, allocations: 0.6809 MB / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.4325, allocations: 7.438 kB / 1.036 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of SimCode: time 3.1e-07/0.4325, allocations: 0 / 1.036 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of Templates: time 0.002239/0.4347, allocations: 0.6044 MB / 1.037 GB, free: 3.922 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (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)