Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.725/2.725, allocations: 287.3 MB / 302.3 MB, free: 8.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001626/0.001626, allocations: 187.4 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001136, allocations: 88.14 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006734/0.0006737, allocations: 13.25 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2163, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.9401/1.157, allocations: 172.2 MB / 1.146 GB, free: 12.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02678/1.183, allocations: 11.92 MB / 1.158 GB, free: 3.344 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/1.186, allocations: 40.03 kB / 1.158 GB, free: 3.324 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003728/1.19, allocations: 0.7023 MB / 1.159 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009696/1.199, allocations: 1.964 MB / 1.161 GB, free: 1.141 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008602/1.208, allocations: 1.74 MB / 1.162 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005831/1.214, allocations: 1.904 MB / 1.164 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/1.216, allocations: 0.8895 MB / 1.165 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005327/1.222, allocations: 1.39 MB / 1.166 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002381/1.224, allocations: 0.7234 MB / 1.167 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003865/1.225, allocations: 55 kB / 1.167 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007352/1.232, allocations: 2.037 MB / 1.169 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0009426/1.233, allocations: 314 kB / 1.169 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0008546/1.234, allocations: 302 kB / 1.17 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005805/1.24, allocations: 2.035 MB / 1.172 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.24, allocations: 0 / 1.172 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.055e-06/1.24, allocations: 0 / 1.172 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.007e-05/1.24, allocations: 2.594 kB / 1.172 GB, free: 10.17 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.006596/1.246, allocations: 1.801 MB / 1.174 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.246, allocations: 10.25 kB / 1.174 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005322/1.252, allocations: 0.5685 MB / 1.174 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003352/1.255, allocations: 1.014 MB / 1.175 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001227/1.256, allocations: 212.2 kB / 1.175 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003404/1.257, allocations: 97.81 kB / 1.175 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004651/1.261, allocations: 1.277 MB / 1.177 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/1.262, allocations: 0 / 1.177 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/1.262, allocations: 34.28 kB / 1.177 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.768e-05/1.262, allocations: 43.58 kB / 1.177 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006025/1.268, allocations: 1.321 MB / 1.178 GB, free: 6.23 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01436/1.282, allocations: 4.912 MB / 1.183 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005384/1.288, allocations: 1.063 MB / 1.184 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001737/1.29, allocations: 0.6928 MB / 1.184 GB, free: 1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002926/1.293, allocations: 0.7464 MB / 1.185 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=85): time 7.344e-06/1.293, allocations: 3.984 kB / 1.185 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.008316/1.301, allocations: 1.943 MB / 1.187 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.301, allocations: 143.3 kB / 1.187 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/1.303, allocations: 1.038 MB / 1.188 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003219/1.304, allocations: 45.23 kB / 1.188 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007017/1.305, allocations: 0.5222 MB / 1.189 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004726/1.305, allocations: 269.7 kB / 1.189 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/1.305, allocations: 20.88 kB / 1.189 GB, free: 14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.305, allocations: 352.1 kB / 1.189 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00246/1.308, allocations: 0.5084 MB / 1.19 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00281/1.311, allocations: 0.7097 MB / 1.191 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002705/1.313, allocations: 0.6053 MB / 1.191 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/1.314, allocations: 0 / 1.191 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006461/1.32, allocations: 1.495 MB / 1.193 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005744/1.321, allocations: 1.117 MB / 1.194 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.321, allocations: 8.375 kB / 1.194 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/1.321, allocations: 5.719 kB / 1.194 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/1.323, allocations: 265.9 kB / 1.194 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.733e-05/1.323, allocations: 5.438 kB / 1.194 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/1.326, allocations: 223.7 kB / 1.194 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002917/1.327, allocations: 42.81 kB / 1.194 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.327, allocations: 6.812 kB / 1.194 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005975/1.333, allocations: 1.415 MB / 1.196 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/1.333, allocations: 6.938 kB / 1.196 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.333, allocations: 11.16 kB / 1.196 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/1.335, allocations: 259.6 kB / 1.196 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/1.335, allocations: 11.94 kB / 1.196 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/1.338, allocations: 196.4 kB / 1.196 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002324/1.338, allocations: 47.97 kB / 1.196 GB, free: 9.488 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * 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.001127/1.339, allocations: 468.1 kB / 1.197 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004747/1.34, allocations: 134.4 kB / 1.197 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006156/1.346, allocations: 1.507 MB / 1.198 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/1.346, allocations: 8 kB / 1.198 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.346, allocations: 4 kB / 1.198 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/1.346, allocations: 3.984 kB / 1.198 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009921/1.356, allocations: 3.045 MB / 1.201 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/1.356, allocations: 4 kB / 1.201 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/1.358, allocations: 208.1 kB / 1.201 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.307e-05/1.358, allocations: 11.95 kB / 1.201 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/1.358, allocations: 27.98 kB / 1.201 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.41e-05/1.358, allocations: 8 kB / 1.201 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.358, allocations: 7.938 kB / 1.201 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00882/1.367, allocations: 2.467 MB / 1.204 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.368, allocations: 359 kB / 1.204 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/1.369, allocations: 24 kB / 1.204 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002301/1.371, allocations: 128 kB / 1.204 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/1.372, allocations: 64.38 kB / 1.204 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/1.372, allocations: 47.95 kB / 1.204 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001707/1.373, allocations: 0.7049 MB / 1.205 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.01e-07/1.373, allocations: 0 / 1.205 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003628/1.377, allocations: 0.7877 MB / 1.206 GB, free: 15.2 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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.002027/1.379, allocations: 0.5066 MB / 1.206 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.009102/1.388, allocations: 2.262 MB / 1.209 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.388, allocations: 0 / 1.209 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002938/1.391, allocations: 0.7879 MB / 1.209 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005167/1.397, allocations: 0.5092 MB / 1.21 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008694/1.405, allocations: 2.848 MB / 1.213 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/1.406, allocations: 1.18 MB / 1.214 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002998/1.409, allocations: 350.1 kB / 1.214 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006286/1.41, allocations: 103.4 kB / 1.214 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of SimCode: time 1.363e-06/1.41, allocations: 4 kB / 1.214 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of Templates: time 0.07046/1.481, allocations: 24.78 MB / 1.238 GB, free: 13.95 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)