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.644/2.644, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.001352/0.001351, allocations: 176.1 kB / 371 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.207/2.207, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009919/0.0009918, allocations: 92.14 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000775/0.0007755, allocations: 17.34 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2328, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.9425/1.175, allocations: 188.6 MB / 1.162 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02748/1.203, allocations: 12.62 MB / 1.175 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/1.205, allocations: 45.84 kB / 1.175 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00271/1.208, allocations: 0.526 MB / 1.175 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.007466/1.216, allocations: 1.657 MB / 1.177 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.007806/1.223, allocations: 1.611 MB / 1.179 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007442/1.231, allocations: 3.565 MB / 1.182 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/1.233, allocations: 0.8587 MB / 1.183 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005098/1.238, allocations: 1.465 MB / 1.184 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/1.241, allocations: 0.9539 MB / 1.185 GB, free: 384 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003871/1.241, allocations: 54.38 kB / 1.185 GB, free: 384 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007706/1.249, allocations: 2.295 MB / 1.188 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0009006/1.25, allocations: 334.1 kB / 1.188 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000812/1.251, allocations: 309.5 kB / 1.188 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005661/1.257, allocations: 2.151 MB / 1.19 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.257, allocations: 0 / 1.19 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.848e-06/1.257, allocations: 4 kB / 1.19 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.808e-05/1.257, allocations: 2.844 kB / 1.19 GB, free: 13.42 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.006951/1.264, allocations: 1.832 MB / 1.192 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.264, allocations: 7.812 kB / 1.192 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005445/1.269, allocations: 0.5603 MB / 1.193 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003839/1.273, allocations: 1.048 MB / 1.194 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001214/1.274, allocations: 208.3 kB / 1.194 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003284/1.275, allocations: 105.9 kB / 1.194 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004268/1.279, allocations: 1.271 MB / 1.195 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/1.279, allocations: 0 / 1.195 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/1.279, allocations: 31.88 kB / 1.195 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.276e-05/1.279, allocations: 43.33 kB / 1.195 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005364/1.285, allocations: 1.323 MB / 1.197 GB, free: 9.449 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.01308/1.298, allocations: 4.904 MB / 1.201 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004489/1.302, allocations: 1.039 MB / 1.202 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002194/1.305, allocations: 0.5776 MB / 1.203 GB, free: 4.688 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001918/1.307, allocations: 0.8662 MB / 1.204 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00249/1.309, allocations: 0.6979 MB / 1.204 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 4.458e-06/1.309, allocations: 0 / 1.204 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.007448/1.317, allocations: 1.792 MB / 1.206 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/1.317, allocations: 119.5 kB / 1.206 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/1.319, allocations: 1.03 MB / 1.207 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004162/1.32, allocations: 45.7 kB / 1.207 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/1.321, allocations: 0.5164 MB / 1.208 GB, free: 472 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006433/1.322, allocations: 276.1 kB / 1.208 GB, free: 192 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/1.322, allocations: 20 kB / 1.208 GB, free: 172 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002003/1.322, allocations: 345.9 kB / 1.208 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002428/1.325, allocations: 0.5134 MB / 1.209 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/1.327, allocations: 0.7076 MB / 1.21 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/1.33, allocations: 0.6074 MB / 1.21 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.33, allocations: 0 / 1.21 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006133/1.336, allocations: 1.495 MB / 1.212 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002211/1.336, allocations: 238.2 kB / 1.212 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.336, allocations: 8.625 kB / 1.212 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/1.336, allocations: 8 kB / 1.212 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/1.339, allocations: 259.6 kB / 1.212 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.323e-05/1.339, allocations: 15.83 kB / 1.212 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/1.342, allocations: 219.4 kB / 1.212 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/1.342, allocations: 43.97 kB / 1.212 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.342, allocations: 8 kB / 1.212 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005755/1.348, allocations: 1.417 MB / 1.214 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.348, allocations: 4 kB / 1.214 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/1.348, allocations: 4 kB / 1.214 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/1.35, allocations: 267.7 kB / 1.214 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/1.35, allocations: 11.98 kB / 1.214 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/1.353, allocations: 184.5 kB / 1.214 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/1.353, allocations: 47.97 kB / 1.214 GB, free: 9.629 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.001069/1.354, allocations: 476 kB / 1.215 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/1.354, allocations: 126.5 kB / 1.215 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005913/1.36, allocations: 1.522 MB / 1.216 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/1.36, allocations: 11.98 kB / 1.216 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/1.36, allocations: 0 / 1.216 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.36, allocations: 3.984 kB / 1.216 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009228/1.37, allocations: 2.963 MB / 1.219 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/1.37, allocations: 7.953 kB / 1.219 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/1.371, allocations: 216.1 kB / 1.22 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.476e-05/1.372, allocations: 4 kB / 1.22 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/1.372, allocations: 36.06 kB / 1.22 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.416e-05/1.372, allocations: 8 kB / 1.22 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.372, allocations: 4 kB / 1.22 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008268/1.38, allocations: 2.292 MB / 1.222 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.381, allocations: 351.1 kB / 1.222 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/1.381, allocations: 23.98 kB / 1.222 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/1.383, allocations: 127.9 kB / 1.222 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/1.384, allocations: 64.42 kB / 1.222 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/1.384, allocations: 43.97 kB / 1.222 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00161/1.385, allocations: 0.697 MB / 1.223 GB, free: 460 kB / 0.7448 GB Notification: Performance of sort global known variables: time 4.81e-07/1.385, allocations: 0 / 1.223 GB, free: 460 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003136/1.389, allocations: 0.7878 MB / 1.224 GB, free: 15.66 MB / 0.7605 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.001799/1.39, allocations: 0.5143 MB / 1.224 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.008449/1.399, allocations: 2.266 MB / 1.227 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.399, allocations: 4 kB / 1.227 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002696/1.402, allocations: 0.784 MB / 1.227 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004843/1.407, allocations: 0.5195 MB / 1.228 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008031/1.415, allocations: 2.852 MB / 1.231 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/1.416, allocations: 1.16 MB / 1.232 GB, free: 7.391 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002914/1.419, allocations: 354.1 kB / 1.232 GB, free: 7.055 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005704/1.419, allocations: 103.4 kB / 1.232 GB, free: 6.953 MB / 0.7605 GB Notification: Performance of SimCode: time 1.252e-06/1.419, allocations: 8 kB / 1.232 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of Templates: time 0.07057/1.49, allocations: 24.72 MB / 1.256 GB, free: 14.45 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)