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.00516/0.005159, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001302/0.001302, allocations: 191.8 kB / 16.67 MB, free: 5.52 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.284/1.284, allocations: 222.9 MB / 240.4 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.002016/0.002016, allocations: 289.8 kB / 290.8 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.9139/0.9139, allocations: 169.2 MB / 0.4983 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 92.14 kB / 0.6814 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4217, allocations: 86.99 MB / 0.7664 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7393/1.161, allocations: 369.7 MB / 1.127 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.04552/1.207, allocations: 33.33 MB / 1.16 GB, free: 5.727 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006628/1.213, allocations: 151.1 kB / 1.16 GB, free: 5.578 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006171/1.22, allocations: 2.442 MB / 1.163 GB, free: 3.121 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01985/1.239, allocations: 7.833 MB / 1.17 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01112/1.251, allocations: 4.611 MB / 1.175 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01659/1.267, allocations: 11.11 MB / 1.186 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007361/1.275, allocations: 3.984 MB / 1.189 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01386/1.288, allocations: 5.582 MB / 1.195 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006589/1.295, allocations: 3.453 MB / 1.198 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001777/1.297, allocations: 0.5508 MB / 1.199 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01339/1.31, allocations: 6.822 MB / 1.205 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002225/1.313, allocations: 1.472 MB / 1.207 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005109/1.318, allocations: 2.846 MB / 1.21 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01965/1.337, allocations: 9.801 MB / 1.219 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.337, allocations: 0 / 1.219 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/1.337, allocations: 0 / 1.219 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002311/1.338, allocations: 0 / 1.219 GB, free: 8.945 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.0168/1.354, allocations: 5.964 MB / 1.225 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.354, allocations: 8.031 kB / 1.225 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03109/1.386, allocations: 4.294 MB / 1.229 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009056/1.395, allocations: 3.703 MB / 1.233 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003786/1.395, allocations: 305.3 kB / 1.233 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001359/1.396, allocations: 359.9 kB / 1.234 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/1.414, allocations: 5.697 MB / 1.239 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.744e-05/1.414, allocations: 3.938 kB / 1.239 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008168/1.415, allocations: 132 kB / 1.239 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/1.415, allocations: 134.5 kB / 1.239 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02186/1.437, allocations: 6.786 MB / 1.246 GB, free: 13.3 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.04292/1.48, allocations: 22.19 MB / 1.268 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/1.492, allocations: 4.038 MB / 1.272 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006922/1.499, allocations: 2.262 MB / 1.274 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01545/1.514, allocations: 8.168 MB / 1.282 GB, free: 7.141 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007763/1.522, allocations: 2.493 MB / 1.284 GB, free: 4.625 MB / 0.92 GB Notification: Performance of pre-optimization done (n=228): time 4.94e-06/1.522, allocations: 0 / 1.284 GB, free: 4.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=228): time 0.03513/1.557, allocations: 8.414 MB / 1.292 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/1.557, allocations: 124.8 kB / 1.293 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009654/1.567, allocations: 4.314 MB / 1.297 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0007991/1.568, allocations: 81.7 kB / 1.297 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001916/1.57, allocations: 1.818 MB / 1.299 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.571, allocations: 0.7934 MB / 1.299 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003067/1.574, allocations: 0.8237 MB / 1.3 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/1.574, allocations: 301.1 kB / 1.3 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009493/1.584, allocations: 2.732 MB / 1.303 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/1.594, allocations: 3.432 MB / 1.307 GB, free: 13.32 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.02004/1.614, allocations: 5.936 MB / 1.312 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.355e-05/1.614, allocations: 4 kB / 1.312 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.4044/2.019, allocations: 7.569 MB / 1.32 GB, free: 402.9 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/2.019, allocations: 14.98 kB / 1.32 GB, free: 402.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.917e-05/2.019, allocations: 14.47 kB / 1.32 GB, free: 402.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004583/2.023, allocations: 0.9767 MB / 1.321 GB, free: 402.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009614/2.033, allocations: 1.405 MB / 1.322 GB, free: 402.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/2.048, allocations: 14.44 MB / 1.336 GB, free: 390.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/2.059, allocations: 1.189 MB / 1.337 GB, free: 390.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009242/2.06, allocations: 187.1 kB / 1.337 GB, free: 390.8 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.002058/2.062, allocations: 0.8634 MB / 1.338 GB, free: 390.3 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/2.063, allocations: 422.8 kB / 1.339 GB, free: 390.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/2.082, allocations: 5.785 MB / 1.344 GB, free: 388.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/2.082, allocations: 23.69 kB / 1.344 GB, free: 388.5 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/2.082, allocations: 7.875 kB / 1.344 GB, free: 388.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.658e-05/2.082, allocations: 14.84 kB / 1.344 GB, free: 388.5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02499/2.107, allocations: 10.88 MB / 1.355 GB, free: 384.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/2.107, allocations: 3.938 kB / 1.355 GB, free: 384.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004194/2.111, allocations: 0.6676 MB / 1.356 GB, free: 384.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002932/2.114, allocations: 0.7615 MB / 1.356 GB, free: 383.8 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003404/2.115, allocations: 86.53 kB / 1.357 GB, free: 383.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/2.126, allocations: 11.7 MB / 1.368 GB, free: 372.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/2.126, allocations: 3.969 kB / 1.368 GB, free: 372.8 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02462/2.15, allocations: 8.17 MB / 1.376 GB, free: 368.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002419/2.153, allocations: 1.066 MB / 1.377 GB, free: 367.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008798/2.154, allocations: 50.56 kB / 1.377 GB, free: 367.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005662/2.159, allocations: 0.5326 MB / 1.378 GB, free: 367.3 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003509/2.16, allocations: 173.6 kB / 1.378 GB, free: 367.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/2.16, allocations: 107.9 kB / 1.378 GB, free: 367.1 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004754/2.165, allocations: 2.967 MB / 1.381 GB, free: 364.1 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/2.165, allocations: 0 / 1.381 GB, free: 364.1 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004428/2.169, allocations: 1.54 MB / 1.382 GB, free: 362.6 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.002351/2.172, allocations: 1.044 MB / 1.383 GB, free: 361.8 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01908/2.191, allocations: 6.452 MB / 1.39 GB, free: 355.3 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/2.191, allocations: 0 / 1.39 GB, free: 355.3 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.007361/2.198, allocations: 3.011 MB / 1.392 GB, free: 352.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009568/2.208, allocations: 2.095 MB / 1.395 GB, free: 350.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02495/2.233, allocations: 9.153 MB / 1.403 GB, free: 341 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/2.234, allocations: 2.298 MB / 1.406 GB, free: 338.7 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00523/2.239, allocations: 1.049 MB / 1.407 GB, free: 337.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/2.241, allocations: 367.2 kB / 1.407 GB, free: 337.3 MB / 0.9512 GB Notification: Performance of SimCode: time 1.122e-06/2.241, allocations: 0 / 1.407 GB, free: 337.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.115/2.356, allocations: 97.8 MB / 1.503 GB, free: 240.4 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)