Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 105.4 kB / 16.36 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 71.89 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2297, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.6762/0.9059, allocations: 250.9 MB / 1.03 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02779/0.9338, allocations: 19.1 MB / 1.048 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003794/0.9376, allocations: 75.56 kB / 1.049 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00376/0.9414, allocations: 1.172 MB / 1.05 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.9534, allocations: 4.023 MB / 1.054 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007159/0.9605, allocations: 2.432 MB / 1.056 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009095/0.9696, allocations: 5.306 MB / 1.061 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004013/0.9737, allocations: 1.918 MB / 1.063 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00703/0.9808, allocations: 2.399 MB / 1.065 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003796/0.9846, allocations: 1.698 MB / 1.067 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.9856, allocations: 276 kB / 1.067 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00995/0.9956, allocations: 4.472 MB / 1.072 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.997, allocations: 0.7202 MB / 1.072 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003345/1, allocations: 1.396 MB / 1.074 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01269/1.013, allocations: 5.376 MB / 1.079 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/1.013, allocations: 4 kB / 1.079 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.325e-06/1.013, allocations: 0 / 1.079 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001415/1.013, allocations: 0 / 1.079 GB, free: 12.61 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.01039/1.024, allocations: 3.291 MB / 1.082 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/1.024, allocations: 11.97 kB / 1.082 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/1.04, allocations: 2.135 MB / 1.084 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005429/1.045, allocations: 1.913 MB / 1.086 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/1.045, allocations: 139.2 kB / 1.086 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008434/1.046, allocations: 176 kB / 1.086 GB, free: 4.801 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009315/1.056, allocations: 2.86 MB / 1.089 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-05/1.056, allocations: 4 kB / 1.089 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004548/1.056, allocations: 67.94 kB / 1.089 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.9e-05/1.056, allocations: 67.2 kB / 1.089 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/1.067, allocations: 3.385 MB / 1.093 GB, free: 14.37 MB / 0.8887 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.01927/1.087, allocations: 9.057 MB / 1.102 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007952/1.095, allocations: 2.468 MB / 1.104 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004778/1.1, allocations: 1.512 MB / 1.105 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01143/1.111, allocations: 5.231 MB / 1.111 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005/1.116, allocations: 1.702 MB / 1.112 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=149): time 6.442e-06/1.116, allocations: 0 / 1.112 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of matching and sorting (n=149): time 0.01644/1.133, allocations: 4.616 MB / 1.117 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/1.133, allocations: 149.8 kB / 1.117 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/1.136, allocations: 1.661 MB / 1.118 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002936/1.136, allocations: 57.7 kB / 1.119 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008847/1.137, allocations: 0.8346 MB / 1.119 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006211/1.138, allocations: 0.4928 MB / 1.12 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/1.139, allocations: 423.1 kB / 1.12 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.521e-05/1.139, allocations: 301.1 kB / 1.121 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004597/1.143, allocations: 1.43 MB / 1.122 GB, free: 15.54 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004892/1.148, allocations: 1.76 MB / 1.124 GB, free: 13.68 MB / 0.92 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/1.16, allocations: 3.654 MB / 1.127 GB, free: 9.902 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.547e-05/1.16, allocations: 3.938 kB / 1.127 GB, free: 9.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01337/1.174, allocations: 3.748 MB / 1.131 GB, free: 6.125 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.609e-05/1.174, allocations: 79.31 kB / 1.131 GB, free: 6.035 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/1.174, allocations: 4 kB / 1.131 GB, free: 6.031 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008988/1.175, allocations: 194.5 kB / 1.131 GB, free: 5.832 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005072/1.18, allocations: 0.7841 MB / 1.132 GB, free: 5.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/1.183, allocations: 4.096 MB / 1.136 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004509/1.188, allocations: 429.9 kB / 1.136 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006228/1.189, allocations: 95.92 kB / 1.136 GB, free: 112 kB / 0.92 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hex.UAFroRated.TAirIn = 293.15 hex.UAFroRated.TWatIn = 293.15. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.4425/1.631, allocations: 1.815 MB / 1.138 GB, free: 303.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004594/1.636, allocations: 1.75 MB / 1.14 GB, free: 303.5 MB / 0.92 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0106/1.646, allocations: 3.641 MB / 1.143 GB, free: 303.1 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.171e-05/1.646, allocations: 2.719 kB / 1.143 GB, free: 303.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=233) (initialization_lambda0): time 0.01187/1.658, allocations: 3.746 MB / 1.147 GB, free: 302 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.361e-05/1.658, allocations: 72.94 kB / 1.147 GB, free: 301.9 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/1.658, allocations: 5.75 kB / 1.147 GB, free: 301.9 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008291/1.659, allocations: 195.9 kB / 1.147 GB, free: 301.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005105/1.664, allocations: 0.7867 MB / 1.148 GB, free: 301.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002782/1.667, allocations: 4.093 MB / 1.152 GB, free: 297.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/1.672, allocations: 398 kB / 1.152 GB, free: 297.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003306/1.672, allocations: 99.02 kB / 1.153 GB, free: 297.9 MB / 0.92 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: hex.UAFroRated.TAirIn = 293.15 hex.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 18 (hex.UAFroRated.isFulWet,hex.UAFroRated.isFulDry,hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 207 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006518/1.673, allocations: 359.8 kB / 1.153 GB, free: 297.6 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005938/1.673, allocations: 200.5 kB / 1.153 GB, free: 297.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/1.685, allocations: 3.578 MB / 1.157 GB, free: 296.4 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-05/1.685, allocations: 16.06 kB / 1.157 GB, free: 296.4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/1.685, allocations: 0 / 1.157 GB, free: 296.4 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/1.687, allocations: 0.5906 MB / 1.157 GB, free: 296.1 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004194/1.687, allocations: 31.5 kB / 1.157 GB, free: 296 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003006/1.69, allocations: 279.7 kB / 1.158 GB, free: 296 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/1.69, allocations: 93.5 kB / 1.158 GB, free: 296 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0129/1.703, allocations: 3.546 MB / 1.161 GB, free: 294.8 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01516/1.718, allocations: 4.951 MB / 1.166 GB, free: 292.8 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004632/1.723, allocations: 1.479 MB / 1.167 GB, free: 292.3 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002116/1.725, allocations: 1.127 MB / 1.168 GB, free: 291.9 MB / 0.92 GB Notification: Performance of Backend: time 1.002e-06/1.725, allocations: 0 / 1.168 GB, free: 291.9 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01844/1.744, allocations: 5.569 MB / 1.174 GB, free: 290.1 MB / 0.92 GB Notification: Performance of SimCode: time 0.008456/1.752, allocations: 4.229 MB / 1.178 GB, free: 287.8 MB / 0.92 GB Notification: Performance of Templates: time 0.09881/1.851, allocations: 72.34 MB / 1.249 GB, free: 237.8 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)