Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001105/0.001105, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001216/0.001216, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.309/1.309, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9783/0.9783, allocations: 143 MB / 433.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 0.5137 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1778, allocations: 82.04 MB / 0.5938 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.042/1.22, allocations: 365.8 MB / 0.951 GB, free: 24.59 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03707/1.257, allocations: 33.22 MB / 0.9835 GB, free: 20.08 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007255/1.264, allocations: 141.2 kB / 0.9836 GB, free: 20.08 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006332/1.271, allocations: 2.049 MB / 0.9856 GB, free: 19.07 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01852/1.289, allocations: 6.998 MB / 0.9924 GB, free: 16.01 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009859/1.299, allocations: 4.21 MB / 0.9965 GB, free: 12.73 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0117/1.311, allocations: 11.08 MB / 1.007 GB, free: 3.465 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005783/1.317, allocations: 3.945 MB / 1.011 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01663/1.333, allocations: 5.488 MB / 1.017 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006827/1.34, allocations: 3.572 MB / 1.02 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002082/1.342, allocations: 0.5469 MB / 1.021 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01634/1.359, allocations: 7.023 MB / 1.027 GB, free: 172 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002985/1.362, allocations: 1.475 MB / 1.029 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.006356/1.368, allocations: 2.841 MB / 1.032 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02084/1.389, allocations: 10.47 MB / 1.042 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/1.389, allocations: 0 / 1.042 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.903e-06/1.389, allocations: 0 / 1.042 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003733/1.389, allocations: 0 / 1.042 GB, free: 1.887 MB / 0.7012 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.01917/1.408, allocations: 5.955 MB / 1.048 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/1.409, allocations: 12.03 kB / 1.048 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03159/1.44, allocations: 4.291 MB / 1.052 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008899/1.449, allocations: 3.613 MB / 1.055 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001728/1.451, allocations: 0.5127 MB / 1.056 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/1.452, allocations: 362.2 kB / 1.056 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01895/1.471, allocations: 5.707 MB / 1.062 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/1.471, allocations: 3.938 kB / 1.062 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009631/1.472, allocations: 139.1 kB / 1.062 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/1.473, allocations: 134.5 kB / 1.062 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02245/1.495, allocations: 6.837 MB / 1.069 GB, free: 6.215 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.04639/1.541, allocations: 22.32 MB / 1.091 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/1.553, allocations: 4.021 MB / 1.095 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006952/1.56, allocations: 2.254 MB / 1.097 GB, free: 8.68 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01592/1.576, allocations: 8.198 MB / 1.105 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007751/1.584, allocations: 2.497 MB / 1.107 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=228): time 5.871e-06/1.584, allocations: 0 / 1.107 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=228): time 0.03489/1.619, allocations: 8.422 MB / 1.115 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/1.619, allocations: 128.8 kB / 1.116 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00937/1.629, allocations: 4.309 MB / 1.12 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007816/1.629, allocations: 77.7 kB / 1.12 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002016/1.631, allocations: 1.836 MB / 1.122 GB, free: 14.76 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001323/1.633, allocations: 0.7952 MB / 1.122 GB, free: 13.97 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003123/1.636, allocations: 0.8263 MB / 1.123 GB, free: 13.14 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.834e-05/1.636, allocations: 305.1 kB / 1.123 GB, free: 12.84 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00949/1.646, allocations: 2.739 MB / 1.126 GB, free: 10.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01046/1.656, allocations: 3.463 MB / 1.13 GB, free: 6.391 MB / 0.795 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.01971/1.676, allocations: 5.954 MB / 1.135 GB, free: 208 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.981e-05/1.676, allocations: 4 kB / 1.135 GB, free: 204 kB / 0.795 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.03033/1.706, allocations: 7.602 MB / 1.143 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/1.706, allocations: 8 kB / 1.143 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.779e-05/1.706, allocations: 16 kB / 1.143 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004391/1.711, allocations: 0.9757 MB / 1.144 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009601/1.72, allocations: 1.408 MB / 1.145 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01825/1.739, allocations: 14.54 MB / 1.159 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/1.75, allocations: 1.312 MB / 1.161 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/1.751, allocations: 187.8 kB / 1.161 GB, free: 4.984 MB / 0.8262 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.003319/1.755, allocations: 0.8661 MB / 1.162 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002012/1.757, allocations: 418.8 kB / 1.162 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3106/2.067, allocations: 5.776 MB / 1.168 GB, free: 347.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-05/2.067, allocations: 23.41 kB / 1.168 GB, free: 347.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/2.067, allocations: 4.422 kB / 1.168 GB, free: 347.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.517e-05/2.067, allocations: 13.27 kB / 1.168 GB, free: 347.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02727/2.095, allocations: 10.89 MB / 1.178 GB, free: 345.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/2.095, allocations: 2.875 kB / 1.178 GB, free: 345.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004763/2.099, allocations: 0.6695 MB / 1.179 GB, free: 345.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003089/2.103, allocations: 0.7628 MB / 1.18 GB, free: 345.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000572/2.103, allocations: 87.19 kB / 1.18 GB, free: 345 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/2.114, allocations: 11.7 MB / 1.191 GB, free: 334.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/2.114, allocations: 3.031 kB / 1.191 GB, free: 334.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02577/2.14, allocations: 8.173 MB / 1.199 GB, free: 332 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002595/2.143, allocations: 1.065 MB / 1.2 GB, free: 331.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/2.144, allocations: 50.19 kB / 1.2 GB, free: 331.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006691/2.151, allocations: 0.6173 MB / 1.201 GB, free: 331.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004403/2.151, allocations: 171.2 kB / 1.201 GB, free: 331.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003442/2.152, allocations: 113.8 kB / 1.201 GB, free: 331.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.006112/2.158, allocations: 2.972 MB / 1.204 GB, free: 330.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.31e-07/2.158, allocations: 0 / 1.204 GB, free: 330.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.005274/2.163, allocations: 1.558 MB / 1.206 GB, free: 330.2 MB / 0.8262 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.002179/2.165, allocations: 1.058 MB / 1.207 GB, free: 330 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02534/2.191, allocations: 7.106 MB / 1.214 GB, free: 327.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/2.191, allocations: 1.156 kB / 1.214 GB, free: 327.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.008524/2.199, allocations: 3.007 MB / 1.217 GB, free: 326.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/2.211, allocations: 2.098 MB / 1.219 GB, free: 326 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02795/2.239, allocations: 10.74 MB / 1.229 GB, free: 320.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002757/2.241, allocations: 2.296 MB / 1.231 GB, free: 319.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.007769/2.249, allocations: 1.041 MB / 1.232 GB, free: 319.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002264/2.251, allocations: 370.4 kB / 1.233 GB, free: 319.2 MB / 0.8262 GB Notification: Performance of SimCode: time 9.82e-07/2.251, allocations: 4 kB / 1.233 GB, free: 319.2 MB / 0.8262 GB Notification: Performance of Templates: time 0.13/2.382, allocations: 100.4 MB / 1.331 GB, free: 239.7 MB / 0.8262 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)