Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001483/0.001482, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001687/0.001687, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.742/2.742, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.39 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3284, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.9939/1.322, allocations: 365.6 MB / 1.425 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05325/1.376, allocations: 33.13 MB / 1.457 GB, free: 3.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008922/1.385, allocations: 139.1 kB / 1.457 GB, free: 3.445 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.007984/1.393, allocations: 2.058 MB / 1.459 GB, free: 1.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0226/1.415, allocations: 6.993 MB / 1.466 GB, free: 11.17 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01224/1.428, allocations: 4.216 MB / 1.47 GB, free: 6.992 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01659/1.444, allocations: 11.08 MB / 1.481 GB, free: 11.88 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006761/1.451, allocations: 3.945 MB / 1.485 GB, free: 7.871 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01679/1.468, allocations: 5.489 MB / 1.49 GB, free: 2.43 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007848/1.476, allocations: 3.572 MB / 1.494 GB, free: 14.85 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002094/1.478, allocations: 0.5469 MB / 1.494 GB, free: 14.3 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.017/1.495, allocations: 7.024 MB / 1.501 GB, free: 7.27 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002958/1.498, allocations: 1.472 MB / 1.503 GB, free: 5.793 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006248/1.504, allocations: 2.835 MB / 1.505 GB, free: 2.945 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01967/1.524, allocations: 10.01 MB / 1.515 GB, free: 8.906 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.524, allocations: 0 / 1.515 GB, free: 8.906 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.185e-06/1.524, allocations: 4 kB / 1.515 GB, free: 8.902 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002226/1.524, allocations: 0 / 1.515 GB, free: 8.902 MB / 1.123 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.01565/1.54, allocations: 5.951 MB / 1.521 GB, free: 2.848 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/1.54, allocations: 8.031 kB / 1.521 GB, free: 2.84 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03105/1.571, allocations: 4.286 MB / 1.525 GB, free: 14.54 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008704/1.58, allocations: 3.606 MB / 1.529 GB, free: 10.88 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001651/1.581, allocations: 0.5205 MB / 1.529 GB, free: 10.35 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/1.583, allocations: 355.9 kB / 1.529 GB, free: 10 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/1.6, allocations: 5.716 MB / 1.535 GB, free: 4.199 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.619e-05/1.6, allocations: 3.938 kB / 1.535 GB, free: 4.195 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000481/1.601, allocations: 140 kB / 1.535 GB, free: 4.059 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/1.601, allocations: 146.5 kB / 1.535 GB, free: 3.914 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02101/1.622, allocations: 6.829 MB / 1.542 GB, free: 13.07 MB / 1.154 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.04501/1.667, allocations: 22.26 MB / 1.564 GB, free: 5.68 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01161/1.679, allocations: 4.039 MB / 1.568 GB, free: 1.637 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006883/1.686, allocations: 2.262 MB / 1.57 GB, free: 15.37 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01883/1.704, allocations: 8.145 MB / 1.578 GB, free: 6.852 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007762/1.712, allocations: 2.497 MB / 1.58 GB, free: 4.336 MB / 1.186 GB Notification: Performance of pre-optimization done (n=228): time 9.178e-06/1.712, allocations: 0 / 1.58 GB, free: 4.336 MB / 1.186 GB Notification: Performance of matching and sorting (n=228): time 0.03376/1.746, allocations: 8.41 MB / 1.588 GB, free: 11.79 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/1.746, allocations: 136.8 kB / 1.589 GB, free: 11.62 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009623/1.756, allocations: 4.31 MB / 1.593 GB, free: 7.297 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0008911/1.757, allocations: 85.69 kB / 1.593 GB, free: 7.207 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001964/1.759, allocations: 1.825 MB / 1.595 GB, free: 5.363 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001487/1.76, allocations: 0.7895 MB / 1.595 GB, free: 4.562 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00316/1.763, allocations: 0.8276 MB / 1.596 GB, free: 3.727 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 9.023e-05/1.763, allocations: 309 kB / 1.597 GB, free: 3.422 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009253/1.773, allocations: 2.743 MB / 1.599 GB, free: 0.6758 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01035/1.783, allocations: 3.459 MB / 1.603 GB, free: 12.97 MB / 1.217 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.01945/1.803, allocations: 5.954 MB / 1.608 GB, free: 6.781 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.42e-05/1.803, allocations: 4 kB / 1.608 GB, free: 6.777 MB / 1.217 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02974/1.832, allocations: 7.592 MB / 1.616 GB, free: 15.12 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/1.832, allocations: 12 kB / 1.616 GB, free: 15.11 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/1.832, allocations: 16 kB / 1.616 GB, free: 15.09 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004274/1.837, allocations: 0.9677 MB / 1.617 GB, free: 14.09 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009788/1.847, allocations: 1.424 MB / 1.618 GB, free: 12.67 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/1.865, allocations: 14.53 MB / 1.632 GB, free: 13.04 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01251/1.878, allocations: 1.304 MB / 1.634 GB, free: 11.73 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/1.879, allocations: 187.8 kB / 1.634 GB, free: 11.55 MB / 1.248 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.003822/1.883, allocations: 0.8779 MB / 1.635 GB, free: 10.66 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002208/1.886, allocations: 422.8 kB / 1.635 GB, free: 10.24 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0231/1.909, allocations: 5.779 MB / 1.641 GB, free: 4.426 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.6e-05/1.909, allocations: 24 kB / 1.641 GB, free: 4.402 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/1.909, allocations: 0 / 1.641 GB, free: 4.402 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.548e-05/1.909, allocations: 11.95 kB / 1.641 GB, free: 4.391 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03399/1.943, allocations: 10.88 MB / 1.651 GB, free: 9.34 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.165e-05/1.943, allocations: 4 kB / 1.651 GB, free: 9.336 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006075/1.949, allocations: 0.6788 MB / 1.652 GB, free: 8.656 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003745/1.953, allocations: 0.7559 MB / 1.653 GB, free: 7.875 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001167/1.954, allocations: 91.84 kB / 1.653 GB, free: 7.785 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/1.971, allocations: 11.69 MB / 1.664 GB, free: 11.18 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.971, allocations: 4 kB / 1.664 GB, free: 11.18 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02985/2.001, allocations: 8.183 MB / 1.672 GB, free: 2.895 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003745/2.005, allocations: 1.065 MB / 1.673 GB, free: 1.805 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001839/2.007, allocations: 48 kB / 1.673 GB, free: 1.758 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007884/2.014, allocations: 0.6093 MB / 1.674 GB, free: 1.145 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000794/2.015, allocations: 165.7 kB / 1.674 GB, free: 0.9844 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006875/2.016, allocations: 111.9 kB / 1.674 GB, free: 0.875 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.008515/2.025, allocations: 2.975 MB / 1.677 GB, free: 13.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.41e-07/2.025, allocations: 7.938 kB / 1.677 GB, free: 13.89 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.008249/2.033, allocations: 1.557 MB / 1.679 GB, free: 12.33 MB / 1.295 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.003388/2.036, allocations: 1.044 MB / 1.68 GB, free: 11.46 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02812/2.064, allocations: 7.096 MB / 1.687 GB, free: 4.297 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/2.064, allocations: 0 / 1.687 GB, free: 4.297 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009547/2.074, allocations: 3.022 MB / 1.69 GB, free: 1.191 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01387/2.088, allocations: 2.102 MB / 1.692 GB, free: 15.17 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03359/2.122, allocations: 10.75 MB / 1.702 GB, free: 4.363 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003456/2.125, allocations: 2.302 MB / 1.704 GB, free: 2.031 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.008893/2.134, allocations: 1.042 MB / 1.705 GB, free: 1 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002712/2.137, allocations: 367.2 kB / 1.706 GB, free: 0.6406 MB / 1.311 GB Notification: Performance of SimCode: time 2.705e-06/2.137, allocations: 0 / 1.706 GB, free: 0.6406 MB / 1.311 GB Notification: Performance of Templates: time 0.7917/2.928, allocations: 99.8 MB / 1.803 GB, free: 0.5018 GB / 1.373 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)