Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7449/0.7449, allocations: 128.7 MB / 144.5 MB, free: 1.348 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 189.1 kB / 174.2 MB, free: 5.922 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.1 MB / 408.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 106.2 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 55.12 kB / 0.558 GB, free: 97.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.127, allocations: 75.47 MB / 0.6317 GB, free: 33.04 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4228/0.5499, allocations: 146 MB / 0.7743 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001191/0.5501, allocations: 53.92 kB / 0.7743 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.5501, allocations: 0 / 0.7743 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.5502, allocations: 6.781 kB / 0.7743 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.733e-05/0.5503, allocations: 17.42 kB / 0.7743 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006264/0.551, allocations: 181 kB / 0.7745 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.977e-05/0.5511, allocations: 53.7 kB / 0.7746 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.525e-05/0.5511, allocations: 10.72 kB / 0.7746 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.197e-05/0.5512, allocations: 13.64 kB / 0.7746 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.5512, allocations: 12.03 kB / 0.7746 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.5513, allocations: 2.25 kB / 0.7746 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003858/0.5517, allocations: 232.9 kB / 0.7748 GB, free: 14 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.5517, allocations: 5.578 kB / 0.7748 GB, free: 14 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.5517, allocations: 16.34 kB / 0.7748 GB, free: 14 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.552, allocations: 118.2 kB / 0.775 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.552, allocations: 3.938 kB / 0.775 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.22e-07/0.552, allocations: 0 / 0.775 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.552, allocations: 6.5 kB / 0.775 GB, free: 13.99 MB / 0.5261 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.0003892/0.5524, allocations: 337 kB / 0.7753 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.5524, allocations: 10.06 kB / 0.7753 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.5527, allocations: 23.19 kB / 0.7753 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.5528, allocations: 164.5 kB / 0.7755 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/0.5529, allocations: 32.27 kB / 0.7755 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.5529, allocations: 0 / 0.7755 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.5531, allocations: 57.36 kB / 0.7756 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5531, allocations: 0 / 0.7756 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.5531, allocations: 0 / 0.7756 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.5531, allocations: 3.953 kB / 0.7756 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.996e-05/0.5532, allocations: 21.12 kB / 0.7756 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.5535, allocations: 257.6 kB / 0.7758 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.076e-05/0.5536, allocations: 36.38 kB / 0.7759 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.5536, allocations: 4.859 kB / 0.7759 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.5538, allocations: 91.95 kB / 0.776 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.5538, allocations: 37.05 kB / 0.776 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5538, allocations: 3.938 kB / 0.776 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002272/0.554, allocations: 55.08 kB / 0.776 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.5541, allocations: 51.41 kB / 0.7761 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/0.5542, allocations: 101.8 kB / 0.7762 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.5542, allocations: 25.7 kB / 0.7762 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.5542, allocations: 100.3 kB / 0.7763 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-06/0.5542, allocations: 3.906 kB / 0.7763 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.5543, allocations: 16.03 kB / 0.7763 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.5544, allocations: 320 kB / 0.7766 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.5544, allocations: 2.094 kB / 0.7766 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.848e-05/0.5544, allocations: 26.27 kB / 0.7767 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.741e-05/0.5545, allocations: 29.73 kB / 0.7767 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5545, allocations: 2.719 kB / 0.7767 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.016e-05/0.5546, allocations: 58.92 kB / 0.7767 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.5546, allocations: 4.719 kB / 0.7768 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5546, allocations: 2.906 kB / 0.7768 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.5546, allocations: 0 / 0.7768 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.5547, allocations: 4.844 kB / 0.7768 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5547, allocations: 2.219 kB / 0.7768 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/0.5547, allocations: 3.938 kB / 0.7768 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.5547, allocations: 3.062 kB / 0.7768 GB, free: 12.16 MB / 0.5261 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 7.978e-05/0.5548, allocations: 114.6 kB / 0.7769 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.5548, allocations: 0 / 0.7769 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.5549, allocations: 9.156 kB / 0.7769 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.5549, allocations: 1.094 kB / 0.7769 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.5549, allocations: 0 / 0.7769 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.5549, allocations: 6.609 kB / 0.7769 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.5552, allocations: 362.9 kB / 0.7772 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5552, allocations: 4.062 kB / 0.7772 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.5552, allocations: 4.984 kB / 0.7772 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.5552, allocations: 7.875 kB / 0.7773 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.5552, allocations: 3.438 kB / 0.7773 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5552, allocations: 0 / 0.7773 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5552, allocations: 0 / 0.7773 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.5555, allocations: 0.6208 MB / 0.7779 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.5556, allocations: 77.11 kB / 0.7779 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.5556, allocations: 3.219 kB / 0.7779 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.016e-05/0.5557, allocations: 1.969 kB / 0.7779 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.5557, allocations: 2.531 kB / 0.7779 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.5557, allocations: 3.938 kB / 0.778 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.5557, allocations: 87.19 kB / 0.778 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5557, allocations: 0 / 0.778 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002765/0.556, allocations: 12.88 kB / 0.778 GB, free: 10.81 MB / 0.5261 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 (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.0001253/0.5562, allocations: 101 kB / 0.7781 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.072e-05/0.5562, allocations: 21.72 kB / 0.7782 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5562, allocations: 0 / 0.7782 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.528e-06/0.5563, allocations: 4.688 kB / 0.7782 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.5565, allocations: 11.72 kB / 0.7782 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.5568, allocations: 236 kB / 0.7784 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.557, allocations: 0.6739 MB / 0.7791 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.806e-05/0.5571, allocations: 12.58 kB / 0.7791 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.5571, allocations: 7.438 kB / 0.7791 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.5571, allocations: 2.719 kB / 0.7791 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of Templates: time 0.002342/0.5595, allocations: 0.5231 MB / 0.7796 GB, free: 9.719 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)