Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001317/0.001317, allocations: 100.8 kB / 16.64 MB, free: 6.82 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.001275/0.001275, allocations: 185.9 kB / 17.56 MB, free: 5.938 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.436/1.436, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8202/0.8202, allocations: 125.4 MB / 416.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 0.4943 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4068, allocations: 78.55 MB / 0.571 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8027/1.21, allocations: 365.8 MB / 0.9283 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05847/1.268, allocations: 33.15 MB / 0.9606 GB, free: 3 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008437/1.277, allocations: 139.1 kB / 0.9608 GB, free: 2.863 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.008023/1.285, allocations: 2.052 MB / 0.9628 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02353/1.308, allocations: 6.968 MB / 0.9696 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01276/1.321, allocations: 4.212 MB / 0.9737 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01863/1.34, allocations: 11.05 MB / 0.9845 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007577/1.347, allocations: 3.941 MB / 0.9883 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01932/1.367, allocations: 5.862 MB / 0.9941 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008052/1.375, allocations: 3.522 MB / 0.9975 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002222/1.377, allocations: 0.5508 MB / 0.998 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0161/1.393, allocations: 7.001 MB / 1.005 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003036/1.396, allocations: 1.483 MB / 1.006 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.006325/1.403, allocations: 2.839 MB / 1.009 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01405/1.417, allocations: 7.481 MB / 1.016 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/1.417, allocations: 0 / 1.016 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.863e-06/1.417, allocations: 0 / 1.016 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002336/1.417, allocations: 0 / 1.016 GB, free: 9.809 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.01762/1.435, allocations: 5.955 MB / 1.022 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/1.435, allocations: 8.031 kB / 1.022 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3511/1.786, allocations: 4.285 MB / 1.026 GB, free: 312.4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009909/1.796, allocations: 3.6 MB / 1.03 GB, free: 310.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001747/1.797, allocations: 0.514 MB / 1.03 GB, free: 310.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001639/1.799, allocations: 360.1 kB / 1.031 GB, free: 310.6 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01886/1.818, allocations: 5.717 MB / 1.036 GB, free: 308.6 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.38e-05/1.818, allocations: 1.062 kB / 1.036 GB, free: 308.6 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004804/1.819, allocations: 140.5 kB / 1.036 GB, free: 308.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/1.819, allocations: 133.9 kB / 1.037 GB, free: 308.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02208/1.841, allocations: 6.826 MB / 1.043 GB, free: 306.5 MB / 0.7325 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.04184/1.883, allocations: 22.29 MB / 1.065 GB, free: 289.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/1.894, allocations: 4.033 MB / 1.069 GB, free: 287.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006376/1.9, allocations: 2.256 MB / 1.071 GB, free: 286 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01396/1.914, allocations: 8.155 MB / 1.079 GB, free: 279.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006977/1.921, allocations: 2.498 MB / 1.082 GB, free: 277.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=228): time 5.38e-06/1.921, allocations: 0 / 1.082 GB, free: 277.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=228): time 0.03118/1.952, allocations: 8.416 MB / 1.09 GB, free: 269.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/1.952, allocations: 128.8 kB / 1.09 GB, free: 269.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007634/1.96, allocations: 4.321 MB / 1.094 GB, free: 265.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0008741/1.961, allocations: 77.64 kB / 1.094 GB, free: 265.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/1.962, allocations: 1.825 MB / 1.096 GB, free: 263.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.964, allocations: 0.7996 MB / 1.097 GB, free: 262.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001729/1.965, allocations: 0.8198 MB / 1.098 GB, free: 261.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.721e-05/1.965, allocations: 305.1 kB / 1.098 GB, free: 261.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008278/1.974, allocations: 2.739 MB / 1.101 GB, free: 258.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009075/1.983, allocations: 3.463 MB / 1.104 GB, free: 254.9 MB / 0.7325 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.01753/2, allocations: 5.943 MB / 1.11 GB, free: 248.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.382e-05/2, allocations: 4 kB / 1.11 GB, free: 248.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02632/2.027, allocations: 7.612 MB / 1.117 GB, free: 241.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/2.027, allocations: 8 kB / 1.117 GB, free: 241 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/2.027, allocations: 16 kB / 1.117 GB, free: 241 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00387/2.031, allocations: 0.9731 MB / 1.118 GB, free: 240.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008944/2.04, allocations: 1.408 MB / 1.12 GB, free: 238.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/2.054, allocations: 14.56 MB / 1.134 GB, free: 223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01162/2.066, allocations: 1.31 MB / 1.135 GB, free: 221.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/2.067, allocations: 183.8 kB / 1.135 GB, free: 221.5 MB / 0.7325 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.00218/2.069, allocations: 0.8662 MB / 1.136 GB, free: 220.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/2.07, allocations: 422.8 kB / 1.136 GB, free: 220.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01884/2.089, allocations: 5.782 MB / 1.142 GB, free: 214.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/2.089, allocations: 22.25 kB / 1.142 GB, free: 214.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/2.089, allocations: 7.938 kB / 1.142 GB, free: 214.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.224e-05/2.089, allocations: 19.89 kB / 1.142 GB, free: 214.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02692/2.116, allocations: 10.88 MB / 1.153 GB, free: 203.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/2.116, allocations: 0 / 1.153 GB, free: 203.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004807/2.121, allocations: 0.6713 MB / 1.153 GB, free: 202.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00314/2.124, allocations: 0.7573 MB / 1.154 GB, free: 202 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006903/2.125, allocations: 79.91 kB / 1.154 GB, free: 201.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/2.136, allocations: 11.68 MB / 1.166 GB, free: 189.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/2.136, allocations: 7.938 kB / 1.166 GB, free: 189.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0265/2.163, allocations: 8.181 MB / 1.174 GB, free: 181 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003061/2.166, allocations: 1.065 MB / 1.175 GB, free: 179.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/2.167, allocations: 44 kB / 1.175 GB, free: 179.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007376/2.175, allocations: 0.6171 MB / 1.175 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005677/2.175, allocations: 165.7 kB / 1.176 GB, free: 179.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003802/2.176, allocations: 107.9 kB / 1.176 GB, free: 179 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.005881/2.182, allocations: 2.979 MB / 1.179 GB, free: 176 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.21e-07/2.182, allocations: 0 / 1.179 GB, free: 176 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006062/2.188, allocations: 1.549 MB / 1.18 GB, free: 174.5 MB / 0.7325 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.003128/2.191, allocations: 1.053 MB / 1.181 GB, free: 173.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02432/2.215, allocations: 7.096 MB / 1.188 GB, free: 166.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/2.215, allocations: 1.188 kB / 1.188 GB, free: 166.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008171/2.224, allocations: 3.013 MB / 1.191 GB, free: 163.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01085/2.234, allocations: 2.09 MB / 1.193 GB, free: 161.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02733/2.262, allocations: 10.86 MB / 1.204 GB, free: 150.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002349/2.264, allocations: 2.298 MB / 1.206 GB, free: 148.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003305/2.267, allocations: 431.1 kB / 1.206 GB, free: 147.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.533e-06/2.268, allocations: 0 / 1.206 GB, free: 147.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.4948/2.762, allocations: 259.8 MB / 1.46 GB, free: 212.8 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)