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.001386/0.001386, allocations: 114.4 kB / 16.42 MB, free: 6.012 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.001441/0.001441, allocations: 182.3 kB / 17.35 MB, free: 5.629 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 292.8 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 0.9261/0.9261, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 103.8 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3838, allocations: 86.97 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6928/1.077, allocations: 369.7 MB / 1.128 GB, free: 6.656 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.04526/1.122, allocations: 33.33 MB / 1.161 GB, free: 5.66 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005714/1.128, allocations: 155.1 kB / 1.161 GB, free: 5.508 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005856/1.134, allocations: 2.368 MB / 1.163 GB, free: 3.125 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01956/1.153, allocations: 7.508 MB / 1.17 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01111/1.164, allocations: 4.571 MB / 1.175 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0145/1.179, allocations: 11.08 MB / 1.186 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005564/1.184, allocations: 3.976 MB / 1.19 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0121/1.197, allocations: 5.536 MB / 1.195 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005643/1.202, allocations: 3.462 MB / 1.198 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001042/1.203, allocations: 0.5508 MB / 1.199 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01269/1.216, allocations: 6.795 MB / 1.206 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002012/1.218, allocations: 1.476 MB / 1.207 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00421/1.222, allocations: 2.843 MB / 1.21 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01696/1.239, allocations: 9.801 MB / 1.219 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.239, allocations: 0 / 1.219 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/1.239, allocations: 0 / 1.219 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001512/1.239, allocations: 4 kB / 1.219 GB, free: 9.41 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.01496/1.254, allocations: 5.96 MB / 1.225 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.254, allocations: 12.03 kB / 1.225 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03169/1.286, allocations: 4.282 MB / 1.229 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009074/1.295, allocations: 3.709 MB / 1.233 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003731/1.296, allocations: 305.3 kB / 1.233 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/1.297, allocations: 363.9 kB / 1.234 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/1.316, allocations: 5.685 MB / 1.239 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/1.316, allocations: 4 kB / 1.239 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001171/1.317, allocations: 132 kB / 1.239 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001692/1.318, allocations: 138.5 kB / 1.239 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/1.341, allocations: 6.798 MB / 1.246 GB, free: 13.76 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.0459/1.387, allocations: 22.18 MB / 1.268 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/1.399, allocations: 4.042 MB / 1.272 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006957/1.406, allocations: 2.25 MB / 1.274 GB, free: 156 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01563/1.422, allocations: 8.176 MB / 1.282 GB, free: 7.609 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007696/1.43, allocations: 2.485 MB / 1.284 GB, free: 5.102 MB / 0.92 GB Notification: Performance of pre-optimization done (n=228): time 6.882e-06/1.43, allocations: 4 kB / 1.284 GB, free: 5.098 MB / 0.92 GB Notification: Performance of matching and sorting (n=228): time 0.03417/1.464, allocations: 8.426 MB / 1.293 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/1.464, allocations: 124.8 kB / 1.293 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009194/1.473, allocations: 4.321 MB / 1.297 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0006938/1.474, allocations: 77.7 kB / 1.297 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001857/1.476, allocations: 1.818 MB / 1.299 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001175/1.477, allocations: 0.7973 MB / 1.3 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002525/1.479, allocations: 0.8198 MB / 1.3 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/1.479, allocations: 305.1 kB / 1.301 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009466/1.489, allocations: 2.72 MB / 1.303 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/1.499, allocations: 3.436 MB / 1.307 GB, free: 13.78 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.01946/1.519, allocations: 5.94 MB / 1.312 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.342e-05/1.519, allocations: 4 kB / 1.312 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.3663/1.885, allocations: 7.562 MB / 1.32 GB, free: 403.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/1.885, allocations: 11.77 kB / 1.32 GB, free: 403.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.871e-05/1.885, allocations: 14.34 kB / 1.32 GB, free: 403.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004605/1.89, allocations: 0.9799 MB / 1.321 GB, free: 403.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009831/1.9, allocations: 1.4 MB / 1.322 GB, free: 403.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/1.915, allocations: 14.45 MB / 1.336 GB, free: 391.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/1.925, allocations: 1.192 MB / 1.337 GB, free: 391.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009752/1.926, allocations: 186.9 kB / 1.338 GB, free: 391.2 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.002131/1.928, allocations: 0.8657 MB / 1.338 GB, free: 390.6 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/1.929, allocations: 428.9 kB / 1.339 GB, free: 390.6 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01898/1.948, allocations: 5.764 MB / 1.345 GB, free: 388.9 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.035e-05/1.948, allocations: 16.66 kB / 1.345 GB, free: 388.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/1.948, allocations: 3.75 kB / 1.345 GB, free: 388.9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002445/1.951, allocations: 1.056 MB / 1.346 GB, free: 388.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009305/1.952, allocations: 43.78 kB / 1.346 GB, free: 388.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0058/1.958, allocations: 0.5358 MB / 1.346 GB, free: 388.3 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/1.958, allocations: 160.9 kB / 1.346 GB, free: 388.3 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01944/1.977, allocations: 5.269 MB / 1.351 GB, free: 386.7 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02032/1.998, allocations: 7.31 MB / 1.359 GB, free: 384 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006045/2.004, allocations: 2.115 MB / 1.361 GB, free: 383.3 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.005937/2.01, allocations: 2.964 MB / 1.364 GB, free: 382 MB / 0.9512 GB Notification: Performance of Backend: time 8.62e-07/2.01, allocations: 3.844 kB / 1.364 GB, free: 382 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02109/2.031, allocations: 6.477 MB / 1.37 GB, free: 377.4 MB / 0.9512 GB Notification: Performance of SimCode: time 0.01812/2.049, allocations: 8.66 MB / 1.378 GB, free: 368.7 MB / 0.9512 GB Notification: Performance of Templates: time 0.1446/2.194, allocations: 118.3 MB / 1.494 GB, free: 251.3 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)