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 1.8/1.8, allocations: 287.4 MB / 303.2 MB, free: 8.18 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.0009466/0.0009467, allocations: 177.6 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0007743/0.0007743, allocations: 99.92 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003726, allocations: 16.47 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1974, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.6234/0.8208, allocations: 188.6 MB / 1.163 GB, free: 1.316 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01774/0.8386, allocations: 12.62 MB / 1.176 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.8407, allocations: 48.25 kB / 1.176 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.8426, allocations: 0.5309 MB / 1.176 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.8479, allocations: 1.661 MB / 1.178 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005131/0.8531, allocations: 1.614 MB / 1.179 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005559/0.8587, allocations: 3.592 MB / 1.183 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.8603, allocations: 0.9553 MB / 1.184 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003742/0.864, allocations: 1.451 MB / 1.185 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.8654, allocations: 0.957 MB / 1.186 GB, free: 148 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.8656, allocations: 54.56 kB / 1.186 GB, free: 148 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004981/0.8705, allocations: 2.293 MB / 1.189 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004551/0.871, allocations: 333.6 kB / 1.189 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.8715, allocations: 308.8 kB / 1.189 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003235/0.8747, allocations: 2.147 MB / 1.191 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.8748, allocations: 4 kB / 1.191 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.374e-06/0.8748, allocations: 0 / 1.191 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.8748, allocations: 0 / 1.191 GB, free: 13.2 MB / 0.7292 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.003908/0.8787, allocations: 1.83 MB / 1.193 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.8788, allocations: 11.95 kB / 1.193 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002889/0.8817, allocations: 0.5658 MB / 1.194 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.8838, allocations: 1.081 MB / 1.195 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006181/0.8844, allocations: 208.7 kB / 1.195 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.8846, allocations: 95.72 kB / 1.195 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.8871, allocations: 1.269 MB / 1.196 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.8871, allocations: 0 / 1.196 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/0.8872, allocations: 38.88 kB / 1.196 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-05/0.8873, allocations: 50.39 kB / 1.196 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003026/0.8903, allocations: 1.322 MB / 1.198 GB, free: 9.172 MB / 0.7292 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.007597/0.8979, allocations: 4.904 MB / 1.202 GB, free: 5.148 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.9004, allocations: 1.036 MB / 1.203 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.9016, allocations: 0.5808 MB / 1.204 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.9028, allocations: 0.8659 MB / 1.205 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/0.9042, allocations: 0.6981 MB / 1.206 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 3.917e-06/0.9042, allocations: 0 / 1.206 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.004274/0.9085, allocations: 1.793 MB / 1.207 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.9086, allocations: 119.5 kB / 1.207 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.9099, allocations: 1.022 MB / 1.208 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.114e-05/0.91, allocations: 45.7 kB / 1.208 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.9105, allocations: 0.5243 MB / 1.209 GB, free: 128 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.9107, allocations: 276.2 kB / 1.209 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.9108, allocations: 23.94 kB / 1.209 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.9109, allocations: 341.9 kB / 1.21 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.9122, allocations: 0.5134 MB / 1.21 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.9136, allocations: 0.7154 MB / 1.211 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002453/0.916, allocations: 1.211 MB / 1.212 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.9161, allocations: 0 / 1.212 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003294/0.9194, allocations: 1.503 MB / 1.213 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.9195, allocations: 234.2 kB / 1.214 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.9195, allocations: 4 kB / 1.214 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.9196, allocations: 8 kB / 1.214 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.9208, allocations: 267.6 kB / 1.214 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.9209, allocations: 4 kB / 1.214 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.9223, allocations: 218.8 kB / 1.214 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.9224, allocations: 43.97 kB / 1.214 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.9225, allocations: 4 kB / 1.214 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003075/0.9255, allocations: 1.417 MB / 1.216 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.9256, allocations: 4 kB / 1.216 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.9256, allocations: 7.938 kB / 1.216 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.9268, allocations: 263.7 kB / 1.216 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.9268, allocations: 8 kB / 1.216 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.9282, allocations: 210.1 kB / 1.216 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.623e-05/0.9283, allocations: 43.98 kB / 1.216 GB, free: 8.625 MB / 0.7448 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.0006921/0.929, allocations: 460.3 kB / 1.216 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.9292, allocations: 134.3 kB / 1.217 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/0.9325, allocations: 1.52 MB / 1.218 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.9325, allocations: 7.969 kB / 1.218 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9325, allocations: 4 kB / 1.218 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005321/0.9331, allocations: 343.1 kB / 1.218 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.9332, allocations: 20 kB / 1.218 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.9343, allocations: 119.9 kB / 1.219 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.9344, allocations: 56.92 kB / 1.219 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003454/0.9379, allocations: 1.624 MB / 1.22 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004349/0.9422, allocations: 2.289 MB / 1.222 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001296/0.9435, allocations: 0.6443 MB / 1.223 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001004/0.9445, allocations: 0.6971 MB / 1.224 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of Backend: time 5.11e-07/0.9446, allocations: 0 / 1.224 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005853/0.9504, allocations: 2.534 MB / 1.226 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of SimCode: time 0.004702/0.9551, allocations: 3.161 MB / 1.229 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of Templates: time 0.05256/1.008, allocations: 33.93 MB / 1.262 GB, free: 9.051 MB / 0.7917 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)