Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001606/0.001606, allocations: 114.6 kB / 16.42 MB, free: 6.492 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.001851/0.001851, allocations: 185.7 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 296 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003402/0.003402, allocations: 95.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4198, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.6408/1.061, allocations: 250.9 MB / 1.012 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02133/1.082, allocations: 19.27 MB / 1.031 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/1.085, allocations: 72.75 kB / 1.031 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002429/1.088, allocations: 1.172 MB / 1.032 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008652/1.096, allocations: 4.048 MB / 1.036 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005115/1.102, allocations: 2.452 MB / 1.038 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00592/1.107, allocations: 5.369 MB / 1.044 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002243/1.11, allocations: 1.93 MB / 1.046 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004981/1.115, allocations: 2.451 MB / 1.048 GB, free: 0 / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/1.117, allocations: 1.708 MB / 1.05 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003685/1.118, allocations: 277.4 kB / 1.05 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007784/1.125, allocations: 4.484 MB / 1.054 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006885/1.126, allocations: 0.7187 MB / 1.055 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001646/1.128, allocations: 1.408 MB / 1.056 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007873/1.136, allocations: 5.407 MB / 1.062 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.136, allocations: 4 kB / 1.062 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.773e-06/1.136, allocations: 0 / 1.062 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.619e-05/1.136, allocations: 0 / 1.062 GB, free: 10.31 MB / 0.7325 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.00645/1.142, allocations: 3.297 MB / 1.065 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/1.142, allocations: 8.25 kB / 1.065 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/1.158, allocations: 2.137 MB / 1.067 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004049/1.162, allocations: 1.923 MB / 1.069 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/1.162, allocations: 146.1 kB / 1.069 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003616/1.163, allocations: 172 kB / 1.069 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007441/1.17, allocations: 2.863 MB / 1.072 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/1.17, allocations: 0 / 1.072 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/1.17, allocations: 70.03 kB / 1.072 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.197e-05/1.17, allocations: 63.19 kB / 1.072 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/1.181, allocations: 3.397 MB / 1.075 GB, free: 14.27 MB / 0.7481 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.01505/1.196, allocations: 9.075 MB / 1.084 GB, free: 4.902 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007368/1.203, allocations: 2.471 MB / 1.087 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004312/1.208, allocations: 1.511 MB / 1.088 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008455/1.216, allocations: 5.246 MB / 1.093 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004873/1.221, allocations: 1.713 MB / 1.095 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=149): time 5.901e-06/1.221, allocations: 0 / 1.095 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of matching and sorting (n=149): time 0.01889/1.24, allocations: 5.077 MB / 1.1 GB, free: 4.523 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/1.24, allocations: 153.8 kB / 1.1 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/1.243, allocations: 1.682 MB / 1.102 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002202/1.243, allocations: 59.97 kB / 1.102 GB, free: 2.598 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007298/1.244, allocations: 0.8283 MB / 1.103 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005433/1.244, allocations: 0.4948 MB / 1.103 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009099/1.245, allocations: 427.1 kB / 1.103 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.912e-05/1.245, allocations: 301.1 kB / 1.104 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00472/1.25, allocations: 1.437 MB / 1.105 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004983/1.255, allocations: 1.778 MB / 1.107 GB, free: 13.23 MB / 0.7794 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.01157/1.267, allocations: 3.667 MB / 1.11 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/1.267, allocations: 0 / 1.11 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01385/1.281, allocations: 3.97 MB / 1.114 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.073e-05/1.281, allocations: 75.58 kB / 1.114 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/1.281, allocations: 4 kB / 1.114 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/1.282, allocations: 347.1 kB / 1.115 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004962/1.287, allocations: 0.7353 MB / 1.115 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007279/1.294, allocations: 6.252 MB / 1.122 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004537/1.299, allocations: 433.9 kB / 1.122 GB, free: 13.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004656/1.299, allocations: 103.6 kB / 1.122 GB, free: 13.13 MB / 0.795 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.005799/1.305, allocations: 1.838 MB / 1.124 GB, free: 11.29 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005103/1.31, allocations: 1.764 MB / 1.126 GB, free: 9.426 MB / 0.795 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.01159/1.322, allocations: 3.653 MB / 1.129 GB, free: 5.676 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-05/1.322, allocations: 0 / 1.129 GB, free: 5.676 MB / 0.795 GB Notification: Performance of matching and sorting (n=237) (initialization_lambda0): time 0.01361/1.336, allocations: 3.96 MB / 1.133 GB, free: 1.723 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.799e-05/1.336, allocations: 75.38 kB / 1.133 GB, free: 1.637 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/1.336, allocations: 8.188 kB / 1.133 GB, free: 1.629 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/1.337, allocations: 341.8 kB / 1.133 GB, free: 1.285 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004657/1.342, allocations: 0.7296 MB / 1.134 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006961/1.349, allocations: 6.27 MB / 1.14 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/1.353, allocations: 402.5 kB / 1.141 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/1.353, allocations: 102.4 kB / 1.141 GB, free: 9.379 MB / 0.8106 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: 26 * Number of states: 0 () * Number of discrete variables: 21 (hex.UAFroRated.isFulWet,hex.UAFroRated.isFulDry,hex.flowRegime_nominal,hex.dryWetCalcs.fullyDry.cfg,hex.dryWetCalcs.fullyWet.cfg,hex.dryWetCalcs.cfg,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): 206 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,1), (1,3), (1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000721/1.354, allocations: 363.5 kB / 1.141 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007321/1.355, allocations: 205.5 kB / 1.141 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/1.368, allocations: 3.786 MB / 1.145 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/1.368, allocations: 7.969 kB / 1.145 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.368, allocations: 0 / 1.145 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.369, allocations: 0.5879 MB / 1.146 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006034/1.37, allocations: 32 kB / 1.146 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003425/1.373, allocations: 304.1 kB / 1.146 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/1.374, allocations: 97.17 kB / 1.146 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01345/1.387, allocations: 3.64 MB / 1.15 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01466/1.402, allocations: 4.945 MB / 1.154 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00432/1.406, allocations: 1.462 MB / 1.156 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002024/1.408, allocations: 1.143 MB / 1.157 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of Backend: time 1.042e-06/1.408, allocations: 0 / 1.157 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01827/1.426, allocations: 5.878 MB / 1.163 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of SimCode: time 0.007917/1.434, allocations: 4.275 MB / 1.167 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.1079/1.542, allocations: 74.25 MB / 1.239 GB, free: 4.992 MB / 0.9044 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)