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.001058/0.001059, allocations: 103.3 kB / 15.98 MB, free: 6.355 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.001144/0.001144, allocations: 196.8 kB / 16.91 MB, free: 6.188 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.235/1.235, allocations: 222.9 MB / 240.6 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 289.1 kB / 291 MB, free: 14.74 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8766/0.8766, allocations: 169.2 MB / 0.4985 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 94.7 kB / 0.5953 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1546, allocations: 86.98 MB / 0.6803 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.9698/1.124, allocations: 365.5 MB / 1.037 GB, free: 25.2 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03855/1.163, allocations: 33.15 MB / 1.07 GB, free: 24.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007206/1.17, allocations: 141.7 kB / 1.07 GB, free: 24.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006032/1.176, allocations: 2.045 MB / 1.072 GB, free: 24.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01848/1.195, allocations: 7.003 MB / 1.079 GB, free: 23.89 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01101/1.206, allocations: 4.22 MB / 1.083 GB, free: 21.55 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01368/1.22, allocations: 11.08 MB / 1.094 GB, free: 17.17 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006068/1.226, allocations: 3.943 MB / 1.097 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01433/1.24, allocations: 5.486 MB / 1.103 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006038/1.246, allocations: 3.566 MB / 1.106 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001764/1.248, allocations: 0.5508 MB / 1.107 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0135/1.261, allocations: 7.025 MB / 1.114 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002534/1.264, allocations: 1.478 MB / 1.115 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.006001/1.27, allocations: 2.838 MB / 1.118 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01223/1.282, allocations: 7.487 MB / 1.125 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.282, allocations: 0 / 1.125 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.455e-06/1.282, allocations: 0 / 1.125 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002613/1.283, allocations: 0 / 1.125 GB, free: 4.543 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: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01646/1.299, allocations: 5.957 MB / 1.131 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.299, allocations: 8.031 kB / 1.131 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03112/1.33, allocations: 4.295 MB / 1.135 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007772/1.338, allocations: 3.601 MB / 1.139 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001474/1.34, allocations: 0.5166 MB / 1.139 GB, free: 6.125 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/1.341, allocations: 358.5 kB / 1.14 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/1.356, allocations: 5.718 MB / 1.145 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.42e-05/1.356, allocations: 3.938 kB / 1.145 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004568/1.357, allocations: 132 kB / 1.145 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/1.357, allocations: 138.5 kB / 1.145 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02112/1.378, allocations: 6.833 MB / 1.152 GB, free: 8.871 MB / 0.7637 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.04115/1.419, allocations: 22.28 MB / 1.174 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/1.43, allocations: 4.027 MB / 1.178 GB, free: 13.63 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006638/1.437, allocations: 2.253 MB / 1.18 GB, free: 11.38 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01487/1.452, allocations: 8.165 MB / 1.188 GB, free: 2.906 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007111/1.459, allocations: 2.491 MB / 1.19 GB, free: 408 kB / 0.795 GB Notification: Performance of pre-optimization done (n=228): time 5.039e-06/1.459, allocations: 0 / 1.19 GB, free: 408 kB / 0.795 GB Notification: Performance of matching and sorting (n=228): time 0.03085/1.49, allocations: 8.412 MB / 1.199 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/1.49, allocations: 132.8 kB / 1.199 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007775/1.498, allocations: 4.314 MB / 1.203 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0007481/1.499, allocations: 84.83 kB / 1.203 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001559/1.5, allocations: 1.827 MB / 1.205 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.00111/1.501, allocations: 0.7915 MB / 1.206 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001758/1.503, allocations: 0.8237 MB / 1.206 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.503, allocations: 305.1 kB / 1.207 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008645/1.512, allocations: 2.736 MB / 1.209 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009614/1.522, allocations: 3.466 MB / 1.213 GB, free: 9.086 MB / 0.8262 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.01779/1.539, allocations: 5.953 MB / 1.218 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-05/1.539, allocations: 8 kB / 1.219 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02646/1.566, allocations: 7.604 MB / 1.226 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.566, allocations: 14.34 kB / 1.226 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/1.566, allocations: 16 kB / 1.226 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004098/1.57, allocations: 0.9677 MB / 1.227 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009161/1.579, allocations: 1.423 MB / 1.228 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/1.596, allocations: 14.55 MB / 1.243 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01101/1.607, allocations: 1.307 MB / 1.244 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009742/1.608, allocations: 187.8 kB / 1.244 GB, free: 7.672 MB / 0.8575 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.002436/1.611, allocations: 0.8664 MB / 1.245 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/1.612, allocations: 422.8 kB / 1.245 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02095/1.633, allocations: 5.769 MB / 1.251 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/1.633, allocations: 27.98 kB / 1.251 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.633, allocations: 3.938 kB / 1.251 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.174e-05/1.633, allocations: 19.89 kB / 1.251 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02999/1.663, allocations: 10.89 MB / 1.262 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/1.663, allocations: 7.938 kB / 1.262 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004883/1.668, allocations: 0.671 MB / 1.262 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003244/1.671, allocations: 0.7599 MB / 1.263 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006891/1.672, allocations: 83.91 kB / 1.263 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/1.685, allocations: 11.68 MB / 1.274 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.685, allocations: 7.938 kB / 1.274 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3284/2.014, allocations: 8.178 MB / 1.282 GB, free: 396.8 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002858/2.017, allocations: 1.06 MB / 1.283 GB, free: 396.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/2.018, allocations: 52.8 kB / 1.283 GB, free: 396.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006569/2.024, allocations: 0.612 MB / 1.284 GB, free: 396.7 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004612/2.025, allocations: 162.7 kB / 1.284 GB, free: 396.7 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003494/2.025, allocations: 115.3 kB / 1.284 GB, free: 396.7 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00626/2.031, allocations: 2.978 MB / 1.287 GB, free: 396.5 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.01e-07/2.031, allocations: 0 / 1.287 GB, free: 396.5 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005746/2.037, allocations: 1.555 MB / 1.289 GB, free: 396.5 MB / 0.8887 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.002468/2.04, allocations: 1.038 MB / 1.29 GB, free: 396.4 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0254/2.065, allocations: 7.095 MB / 1.297 GB, free: 394.3 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/2.065, allocations: 0 / 1.297 GB, free: 394.3 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.008294/2.073, allocations: 3.016 MB / 1.3 GB, free: 392.9 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0111/2.084, allocations: 2.094 MB / 1.302 GB, free: 392.4 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02756/2.112, allocations: 10.88 MB / 1.312 GB, free: 387.3 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002307/2.114, allocations: 2.3 MB / 1.315 GB, free: 386.4 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002663/2.117, allocations: 429.8 kB / 1.315 GB, free: 386.4 MB / 0.8887 GB Notification: Performance of SimCode: time 1.853e-06/2.117, allocations: 1.531 kB / 1.315 GB, free: 386.4 MB / 0.8887 GB Notification: Performance of Templates: time 0.1798/2.297, allocations: 259.9 MB / 1.569 GB, free: 147.9 MB / 0.8887 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)