Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.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.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 105 kB / 16.4 MB, free: 6.496 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.001239/0.001239, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002342/0.002342, allocations: 288.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9441/0.9441, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 103.8 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4256, allocations: 86.97 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7438/1.169, allocations: 369.8 MB / 1.128 GB, free: 6.637 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.04908/1.219, allocations: 33.33 MB / 1.161 GB, free: 5.617 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008935/1.228, allocations: 151.2 kB / 1.161 GB, free: 5.469 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.009212/1.237, allocations: 2.364 MB / 1.163 GB, free: 3.09 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02273/1.26, allocations: 7.502 MB / 1.17 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01171/1.271, allocations: 4.577 MB / 1.175 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01555/1.287, allocations: 11.08 MB / 1.186 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007043/1.294, allocations: 3.98 MB / 1.19 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01398/1.308, allocations: 5.526 MB / 1.195 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00672/1.315, allocations: 3.458 MB / 1.198 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002032/1.317, allocations: 0.5508 MB / 1.199 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0145/1.331, allocations: 6.803 MB / 1.206 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002518/1.334, allocations: 1.472 MB / 1.207 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005405/1.339, allocations: 2.843 MB / 1.21 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01808/1.357, allocations: 9.805 MB / 1.219 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.357, allocations: 0 / 1.219 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/1.357, allocations: 0 / 1.219 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002287/1.358, allocations: 0 / 1.219 GB, free: 9.375 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.0165/1.374, allocations: 5.964 MB / 1.225 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.374, allocations: 8.031 kB / 1.225 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03131/1.406, allocations: 4.286 MB / 1.229 GB, free: 15 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009531/1.415, allocations: 3.715 MB / 1.233 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003883/1.416, allocations: 301.3 kB / 1.233 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001398/1.417, allocations: 359.9 kB / 1.234 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/1.435, allocations: 5.693 MB / 1.239 GB, free: 4.793 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/1.435, allocations: 0 / 1.239 GB, free: 4.793 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009762/1.436, allocations: 136 kB / 1.239 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/1.436, allocations: 134.5 kB / 1.239 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02302/1.459, allocations: 6.794 MB / 1.246 GB, free: 13.72 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.04864/1.508, allocations: 22.19 MB / 1.268 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/1.52, allocations: 4.035 MB / 1.272 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007338/1.528, allocations: 2.254 MB / 1.274 GB, free: 116 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01667/1.545, allocations: 8.176 MB / 1.282 GB, free: 7.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00789/1.552, allocations: 2.489 MB / 1.284 GB, free: 5.059 MB / 0.92 GB Notification: Performance of pre-optimization done (n=228): time 5.21e-06/1.552, allocations: 0 / 1.284 GB, free: 5.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=228): time 0.03501/1.587, allocations: 8.422 MB / 1.293 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/1.588, allocations: 128.8 kB / 1.293 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008803/1.596, allocations: 4.314 MB / 1.297 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0006638/1.597, allocations: 81.7 kB / 1.297 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001806/1.599, allocations: 1.818 MB / 1.299 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001186/1.6, allocations: 0.7934 MB / 1.3 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002648/1.603, allocations: 0.8237 MB / 1.3 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/1.603, allocations: 301.1 kB / 1.301 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009464/1.612, allocations: 2.728 MB / 1.303 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/1.623, allocations: 3.436 MB / 1.307 GB, free: 13.75 MB / 0.9512 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.01973/1.642, allocations: 5.932 MB / 1.312 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-05/1.643, allocations: 12 kB / 1.312 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.3565/1.999, allocations: 7.56 MB / 1.32 GB, free: 402.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/1.999, allocations: 11.19 kB / 1.32 GB, free: 402.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.537e-05/1.999, allocations: 22.03 kB / 1.32 GB, free: 402.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004663/2.004, allocations: 0.9652 MB / 1.321 GB, free: 402.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00986/2.014, allocations: 1.414 MB / 1.322 GB, free: 402.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/2.029, allocations: 14.44 MB / 1.336 GB, free: 390.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/2.039, allocations: 1.197 MB / 1.337 GB, free: 390.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009771/2.04, allocations: 181.9 kB / 1.338 GB, free: 390.4 MB / 0.9512 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 19 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU.flowRegime_nominal,hexWetNTU.dryWetCalcs.fullyDry.cfg,hexWetNTU.dryWetCalcs.fullyWet.cfg,hexWetNTU.dryWetCalcs.cfg,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime_nominal,hexWetNTU_TX.dryWetCalcs.fullyDry.cfg,hexWetNTU_TX.dryWetCalcs.fullyWet.cfg,hexWetNTU_TX.dryWetCalcs.cfg,hexWetNTU_TX.flowRegime,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (424): * Single equations (assignments): 409 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * 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): 2 systems {1, 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): 9 systems {(1,1), (1,3), (1,2), (1,2), (1,4), (1,2), (1,4), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002328/2.043, allocations: 0.8696 MB / 1.338 GB, free: 389.9 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001361/2.044, allocations: 428.3 kB / 1.339 GB, free: 389.9 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01991/2.064, allocations: 5.769 MB / 1.345 GB, free: 388.1 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/2.064, allocations: 26.53 kB / 1.345 GB, free: 388.1 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/2.064, allocations: 2.906 kB / 1.345 GB, free: 388.1 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.926e-05/2.064, allocations: 15.66 kB / 1.345 GB, free: 388.1 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02657/2.091, allocations: 10.89 MB / 1.355 GB, free: 383.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/2.091, allocations: 3.906 kB / 1.355 GB, free: 383.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004607/2.095, allocations: 0.6656 MB / 1.356 GB, free: 383.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/2.099, allocations: 0.7648 MB / 1.357 GB, free: 383.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000509/2.099, allocations: 85.61 kB / 1.357 GB, free: 383.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/2.111, allocations: 11.68 MB / 1.368 GB, free: 372.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/2.111, allocations: 10.72 kB / 1.368 GB, free: 372.6 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02674/2.137, allocations: 8.17 MB / 1.376 GB, free: 368.4 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002878/2.14, allocations: 1.062 MB / 1.377 GB, free: 367.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001267/2.141, allocations: 50.16 kB / 1.377 GB, free: 367.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006565/2.148, allocations: 0.5369 MB / 1.378 GB, free: 367.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000556/2.149, allocations: 165.9 kB / 1.378 GB, free: 367.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003915/2.149, allocations: 112.2 kB / 1.378 GB, free: 367.1 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.005702/2.155, allocations: 2.97 MB / 1.381 GB, free: 364.4 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.21e-07/2.155, allocations: 0 / 1.381 GB, free: 364.4 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.005381/2.16, allocations: 1.537 MB / 1.382 GB, free: 362.9 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (relHumIn.phi,TDryBulIn.T,senMasFraIn.X,senMasFraOut.X,TDryBulOut.T,hexWetNTU.dryWetCalcs.fullyWet.TWatOutEst,relHumOut_eps.phi,hexWetNTU_TX.dryWetCalcs.fullyWet.TWatOutEst) * Number of discrete variables: 3 ($whenCondition1,w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of discrete states: 2 (w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 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): 8 systems {(1,4), (1,2), (1,4), (1,2), (1,1), (1,1), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002247/2.162, allocations: 1.046 MB / 1.383 GB, free: 362.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02019/2.183, allocations: 6.446 MB / 1.39 GB, free: 355.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/2.183, allocations: 3.984 kB / 1.39 GB, free: 355.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.007875/2.191, allocations: 3.006 MB / 1.393 GB, free: 352.5 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009548/2.2, allocations: 2.082 MB / 1.395 GB, free: 350.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02384/2.224, allocations: 9.282 MB / 1.404 GB, free: 341.2 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/2.225, allocations: 2.302 MB / 1.406 GB, free: 338.9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002538/2.228, allocations: 427.1 kB / 1.406 GB, free: 338.4 MB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/2.228, allocations: 0 / 1.406 GB, free: 338.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.1769/2.405, allocations: 261.3 MB / 1.662 GB, free: 77.27 MB / 0.9512 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)