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.00611/0.00611, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001386/0.001386, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001997, allocations: 278.8 kB / 290.8 MB, free: 1.793 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9149/0.9149, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 91.86 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1439, allocations: 86.97 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.099/1.243, allocations: 369.7 MB / 1.127 GB, free: 34.72 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.04311/1.286, allocations: 33.33 MB / 1.16 GB, free: 34.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006804/1.293, allocations: 152.2 kB / 1.16 GB, free: 34.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005866/1.299, allocations: 2.363 MB / 1.162 GB, free: 34.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.02016/1.319, allocations: 7.508 MB / 1.17 GB, free: 34.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01138/1.33, allocations: 4.576 MB / 1.174 GB, free: 34.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0146/1.345, allocations: 11.09 MB / 1.185 GB, free: 34.03 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005905/1.351, allocations: 3.993 MB / 1.189 GB, free: 33.55 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01351/1.364, allocations: 5.516 MB / 1.194 GB, free: 33.36 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00684/1.371, allocations: 3.458 MB / 1.198 GB, free: 32.76 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002051/1.373, allocations: 0.5477 MB / 1.198 GB, free: 32.76 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01508/1.388, allocations: 6.806 MB / 1.205 GB, free: 32.23 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002481/1.391, allocations: 1.476 MB / 1.206 GB, free: 31.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00594/1.397, allocations: 2.848 MB / 1.209 GB, free: 30.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01787/1.415, allocations: 9.802 MB / 1.219 GB, free: 24.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.415, allocations: 2.5 kB / 1.219 GB, free: 24.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.502e-06/1.415, allocations: 0 / 1.219 GB, free: 24.84 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002421/1.415, allocations: 0 / 1.219 GB, free: 24.84 MB / 0.8419 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.015/1.43, allocations: 5.952 MB / 1.225 GB, free: 20.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.43, allocations: 9.094 kB / 1.225 GB, free: 20.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02942/1.46, allocations: 4.293 MB / 1.229 GB, free: 16.6 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00748/1.467, allocations: 3.703 MB / 1.232 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/1.467, allocations: 307.2 kB / 1.233 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009094/1.468, allocations: 362.1 kB / 1.233 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/1.481, allocations: 5.691 MB / 1.239 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.696e-05/1.481, allocations: 2.906 kB / 1.239 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003955/1.481, allocations: 132 kB / 1.239 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.602e-05/1.482, allocations: 136.6 kB / 1.239 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/1.499, allocations: 6.794 MB / 1.245 GB, free: 15.52 MB / 0.8575 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.04279/1.542, allocations: 22.19 MB / 1.267 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/1.553, allocations: 4.031 MB / 1.271 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006533/1.56, allocations: 2.254 MB / 1.273 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01741/1.577, allocations: 8.165 MB / 1.281 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007505/1.585, allocations: 2.502 MB / 1.284 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=228): time 4.218e-06/1.585, allocations: 0 / 1.284 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of matching and sorting (n=228): time 0.04088/1.626, allocations: 8.408 MB / 1.292 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.93e-05/1.626, allocations: 128.8 kB / 1.292 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01144/1.637, allocations: 4.314 MB / 1.296 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0009349/1.638, allocations: 88.36 kB / 1.296 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002405/1.641, allocations: 1.814 MB / 1.298 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001397/1.642, allocations: 0.7974 MB / 1.299 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001731/1.644, allocations: 0.8237 MB / 1.3 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.691e-05/1.644, allocations: 301.1 kB / 1.3 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008667/1.653, allocations: 2.722 MB / 1.303 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009093/1.662, allocations: 3.436 MB / 1.306 GB, free: 356 kB / 0.9044 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.01808/1.68, allocations: 5.941 MB / 1.312 GB, free: 10.24 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-05/1.68, allocations: 4 kB / 1.312 GB, free: 10.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02592/1.706, allocations: 7.566 MB / 1.319 GB, free: 2.707 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/1.706, allocations: 12 kB / 1.319 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/1.706, allocations: 16 kB / 1.319 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004003/1.71, allocations: 0.9695 MB / 1.32 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008725/1.719, allocations: 1.407 MB / 1.321 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/1.736, allocations: 14.47 MB / 1.336 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/1.746, allocations: 1.187 MB / 1.337 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006833/1.747, allocations: 183.8 kB / 1.337 GB, free: 15.48 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.001964/1.749, allocations: 0.8747 MB / 1.338 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/1.75, allocations: 426.8 kB / 1.338 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02009/1.77, allocations: 5.759 MB / 1.344 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/1.77, allocations: 28 kB / 1.344 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.77, allocations: 7.875 kB / 1.344 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.931e-05/1.77, allocations: 11.95 kB / 1.344 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/1.797, allocations: 10.9 MB / 1.355 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.797, allocations: 8 kB / 1.355 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004502/1.802, allocations: 0.6664 MB / 1.355 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003113/1.805, allocations: 0.7565 MB / 1.356 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003149/1.805, allocations: 83.91 kB / 1.356 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/1.819, allocations: 11.68 MB / 1.367 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.819, allocations: 7.375 kB / 1.367 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02608/1.845, allocations: 8.178 MB / 1.375 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00267/1.847, allocations: 1.069 MB / 1.376 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009383/1.848, allocations: 51.98 kB / 1.377 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006/1.854, allocations: 0.5315 MB / 1.377 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004084/1.855, allocations: 167.8 kB / 1.377 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000332/1.855, allocations: 111.9 kB / 1.377 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.005719/1.861, allocations: 2.967 MB / 1.38 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.1e-07/1.861, allocations: 0 / 1.38 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004595/1.865, allocations: 1.544 MB / 1.382 GB, free: 0.6641 MB / 0.9825 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.002109/1.868, allocations: 1.044 MB / 1.383 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02043/1.888, allocations: 6.445 MB / 1.389 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.888, allocations: 2.938 kB / 1.389 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007972/1.896, allocations: 3.002 MB / 1.392 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00887/1.905, allocations: 2.097 MB / 1.394 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/1.931, allocations: 9.165 MB / 1.403 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/1.933, allocations: 2.305 MB / 1.405 GB, free: 8.824 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005346/1.939, allocations: 1.036 MB / 1.406 GB, free: 7.801 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/1.94, allocations: 363.2 kB / 1.407 GB, free: 7.445 MB / 1.014 GB Notification: Performance of SimCode: time 8.52e-07/1.94, allocations: 4 kB / 1.407 GB, free: 7.441 MB / 1.014 GB Notification: Performance of Templates: time 0.5055/2.445, allocations: 99.79 MB / 1.504 GB, free: 0.4894 GB / 1.076 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)