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.001567/0.001567, allocations: 108.1 kB / 16.41 MB, free: 6.504 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.001746/0.001746, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.364/1.364, allocations: 222.9 MB / 241.1 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.002078/0.002078, allocations: 282.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9526/0.9526, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 99.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3975, allocations: 86.99 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.6035/1.001, allocations: 250.9 MB / 1.012 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02292/1.024, allocations: 19.27 MB / 1.031 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004016/1.028, allocations: 73.44 kB / 1.031 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0031/1.031, allocations: 1.213 MB / 1.032 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009728/1.041, allocations: 4.218 MB / 1.036 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005674/1.047, allocations: 2.473 MB / 1.039 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00703/1.054, allocations: 5.38 MB / 1.044 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003214/1.057, allocations: 1.923 MB / 1.046 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006719/1.064, allocations: 2.515 MB / 1.048 GB, free: 0 / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003446/1.067, allocations: 1.704 MB / 1.05 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008256/1.068, allocations: 274.7 kB / 1.05 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009141/1.077, allocations: 4.5 MB / 1.055 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001017/1.078, allocations: 0.7197 MB / 1.055 GB, free: 14 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002607/1.081, allocations: 1.411 MB / 1.057 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009876/1.091, allocations: 5.395 MB / 1.062 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/1.091, allocations: 8 kB / 1.062 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.833e-06/1.091, allocations: 0 / 1.062 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000127/1.091, allocations: 2.906 kB / 1.062 GB, free: 10.29 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.00882/1.1, allocations: 3.293 MB / 1.065 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.1, allocations: 9.094 kB / 1.065 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/1.115, allocations: 2.132 MB / 1.067 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004297/1.12, allocations: 1.932 MB / 1.069 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/1.12, allocations: 143.2 kB / 1.069 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003914/1.12, allocations: 175.4 kB / 1.069 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007418/1.128, allocations: 2.858 MB / 1.072 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/1.128, allocations: 6.531 kB / 1.072 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/1.128, allocations: 64 kB / 1.072 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.605e-05/1.128, allocations: 71.12 kB / 1.072 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/1.138, allocations: 3.394 MB / 1.076 GB, free: 14.14 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.01554/1.154, allocations: 9.077 MB / 1.085 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007362/1.161, allocations: 2.471 MB / 1.087 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004407/1.166, allocations: 1.511 MB / 1.088 GB, free: 0.793 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009123/1.175, allocations: 5.243 MB / 1.094 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004778/1.18, allocations: 1.718 MB / 1.095 GB, free: 9.523 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=149): time 3.887e-06/1.18, allocations: 0 / 1.095 GB, free: 9.523 MB / 0.7637 GB Notification: Performance of matching and sorting (n=149): time 0.01887/1.199, allocations: 5.071 MB / 1.1 GB, free: 4.398 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/1.199, allocations: 153.8 kB / 1.1 GB, free: 4.215 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/1.201, allocations: 1.68 MB / 1.102 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002453/1.202, allocations: 61.7 kB / 1.102 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007073/1.202, allocations: 0.8298 MB / 1.103 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004928/1.203, allocations: 0.4904 MB / 1.103 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008127/1.204, allocations: 431.1 kB / 1.104 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.421e-05/1.204, allocations: 301.1 kB / 1.104 GB, free: 440 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004657/1.208, allocations: 1.437 MB / 1.105 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00514/1.214, allocations: 1.776 MB / 1.107 GB, free: 13.1 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.01155/1.225, allocations: 3.651 MB / 1.111 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/1.225, allocations: 4 kB / 1.111 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01405/1.239, allocations: 3.977 MB / 1.115 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.818e-05/1.239, allocations: 75.58 kB / 1.115 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/1.239, allocations: 8 kB / 1.115 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/1.241, allocations: 349.8 kB / 1.115 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004677/1.245, allocations: 0.7326 MB / 1.116 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007087/1.252, allocations: 6.268 MB / 1.122 GB, free: 13.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004562/1.257, allocations: 436 kB / 1.122 GB, free: 13.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000378/1.257, allocations: 99.92 kB / 1.122 GB, free: 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.005662/1.263, allocations: 1.831 MB / 1.124 GB, free: 11.16 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005033/1.268, allocations: 1.767 MB / 1.126 GB, free: 9.297 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.01149/1.28, allocations: 3.654 MB / 1.129 GB, free: 5.547 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.876e-06/1.28, allocations: 0 / 1.129 GB, free: 5.547 MB / 0.795 GB Notification: Performance of matching and sorting (n=237) (initialization_lambda0): time 0.01328/1.293, allocations: 3.964 MB / 1.133 GB, free: 1.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.609e-05/1.293, allocations: 75.38 kB / 1.133 GB, free: 1.504 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/1.293, allocations: 8 kB / 1.133 GB, free: 1.496 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/1.294, allocations: 341.9 kB / 1.134 GB, free: 1.152 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004611/1.299, allocations: 0.7288 MB / 1.134 GB, free: 456 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006825/1.306, allocations: 6.256 MB / 1.141 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004389/1.31, allocations: 402.5 kB / 1.141 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002803/1.311, allocations: 99.91 kB / 1.141 GB, free: 9.258 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.0006694/1.311, allocations: 356.3 kB / 1.141 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005392/1.312, allocations: 205.5 kB / 1.142 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/1.324, allocations: 3.795 MB / 1.145 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/1.324, allocations: 7.969 kB / 1.145 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/1.324, allocations: 0 / 1.145 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/1.326, allocations: 0.5879 MB / 1.146 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004075/1.326, allocations: 32 kB / 1.146 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003082/1.329, allocations: 302.2 kB / 1.146 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/1.33, allocations: 97.17 kB / 1.146 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01295/1.342, allocations: 3.642 MB / 1.15 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01452/1.357, allocations: 4.946 MB / 1.155 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004339/1.361, allocations: 1.457 MB / 1.156 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001915/1.363, allocations: 1.143 MB / 1.157 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of Backend: time 3.11e-07/1.363, allocations: 0 / 1.157 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01794/1.381, allocations: 5.872 MB / 1.163 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of SimCode: time 0.007562/1.389, allocations: 4.285 MB / 1.167 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.112/1.501, allocations: 74.24 MB / 1.24 GB, free: 4.871 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)