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.001327/0.001327, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 195.6 kB / 16.79 MB, free: 6.809 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.374/1.374, allocations: 222.9 MB / 240.5 MB, free: 4.617 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.9978/0.9978, allocations: 143 MB / 433.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.89 kB / 0.5141 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1699, allocations: 82.02 MB / 0.5942 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.097/1.267, allocations: 367.5 MB / 0.9531 GB, free: 24.52 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04306/1.31, allocations: 33.73 MB / 0.986 GB, free: 19.32 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009365/1.319, allocations: 139.3 kB / 0.9862 GB, free: 19.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007216/1.326, allocations: 1.944 MB / 0.9881 GB, free: 18.38 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02003/1.346, allocations: 6.946 MB / 0.9949 GB, free: 14.91 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01064/1.357, allocations: 4.149 MB / 0.9989 GB, free: 11.44 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01475/1.372, allocations: 13.67 MB / 1.012 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006282/1.378, allocations: 3.283 MB / 1.015 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01576/1.394, allocations: 4.734 MB / 1.02 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007434/1.402, allocations: 3.364 MB / 1.023 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001812/1.403, allocations: 244 kB / 1.024 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0165/1.42, allocations: 7.259 MB / 1.031 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002492/1.422, allocations: 1.157 MB / 1.032 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.005752/1.428, allocations: 2.513 MB / 1.034 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01306/1.441, allocations: 7.84 MB / 1.042 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.441, allocations: 4 kB / 1.042 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.004e-06/1.441, allocations: 0 / 1.042 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002627/1.442, allocations: 0 / 1.042 GB, free: 2.691 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.01701/1.459, allocations: 5.959 MB / 1.048 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.459, allocations: 12.03 kB / 1.048 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03133/1.49, allocations: 4.289 MB / 1.052 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00898/1.499, allocations: 3.611 MB / 1.055 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00154/1.501, allocations: 0.5166 MB / 1.056 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001483/1.502, allocations: 354.6 kB / 1.056 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/1.519, allocations: 5.718 MB / 1.062 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.306e-05/1.519, allocations: 7.938 kB / 1.062 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004655/1.52, allocations: 139 kB / 1.062 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/1.52, allocations: 134.5 kB / 1.062 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02199/1.542, allocations: 6.825 MB / 1.069 GB, free: 7.016 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.05071/1.592, allocations: 22.32 MB / 1.091 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/1.606, allocations: 4.025 MB / 1.095 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007615/1.614, allocations: 2.254 MB / 1.097 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0187/1.633, allocations: 8.193 MB / 1.105 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008617/1.641, allocations: 2.497 MB / 1.107 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=228): time 5.31e-06/1.641, allocations: 0 / 1.107 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=228): time 0.03795/1.679, allocations: 8.414 MB / 1.115 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.693e-05/1.68, allocations: 128.8 kB / 1.116 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/1.69, allocations: 4.309 MB / 1.12 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0008701/1.691, allocations: 77.38 kB / 1.12 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002397/1.694, allocations: 1.828 MB / 1.122 GB, free: 15.52 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001567/1.695, allocations: 0.7899 MB / 1.122 GB, free: 14.73 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003691/1.699, allocations: 0.8159 MB / 1.123 GB, free: 13.91 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.699, allocations: 309.1 kB / 1.123 GB, free: 13.61 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009892/1.709, allocations: 2.742 MB / 1.126 GB, free: 10.86 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0111/1.72, allocations: 3.467 MB / 1.13 GB, free: 7.148 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.02042/1.74, allocations: 5.962 MB / 1.135 GB, free: 0.957 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.675e-05/1.741, allocations: 8 kB / 1.135 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.0318/1.772, allocations: 7.603 MB / 1.143 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/1.772, allocations: 12.06 kB / 1.143 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/1.772, allocations: 16 kB / 1.143 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004394/1.777, allocations: 0.9675 MB / 1.144 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009674/1.787, allocations: 1.411 MB / 1.145 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/1.804, allocations: 13.72 MB / 1.159 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/1.816, allocations: 1.314 MB / 1.16 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/1.817, allocations: 183.8 kB / 1.16 GB, free: 6.605 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.0036/1.821, allocations: 0.8731 MB / 1.161 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002171/1.823, allocations: 418.8 kB / 1.161 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3325/2.155, allocations: 5.77 MB / 1.167 GB, free: 348 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.427e-05/2.155, allocations: 21.38 kB / 1.167 GB, free: 348 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/2.155, allocations: 3.531 kB / 1.167 GB, free: 348 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-05/2.155, allocations: 16.92 kB / 1.167 GB, free: 348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02926/2.185, allocations: 10.88 MB / 1.178 GB, free: 345.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.63e-05/2.185, allocations: 5.469 kB / 1.178 GB, free: 345.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004944/2.19, allocations: 0.6709 MB / 1.178 GB, free: 345.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0035/2.193, allocations: 0.7815 MB / 1.179 GB, free: 345.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007726/2.194, allocations: 79.14 kB / 1.179 GB, free: 345.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/2.205, allocations: 10.96 MB / 1.19 GB, free: 336 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/2.205, allocations: 13.44 kB / 1.19 GB, free: 336 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02687/2.232, allocations: 8.175 MB / 1.198 GB, free: 333.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003171/2.235, allocations: 1.072 MB / 1.199 GB, free: 332.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001438/2.237, allocations: 45.62 kB / 1.199 GB, free: 332.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007072/2.244, allocations: 0.621 MB / 1.199 GB, free: 332.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00059/2.245, allocations: 165.8 kB / 1.2 GB, free: 332.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004167/2.245, allocations: 110.6 kB / 1.2 GB, free: 332.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.006963/2.252, allocations: 2.971 MB / 1.203 GB, free: 331.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 8.81e-07/2.252, allocations: 0 / 1.203 GB, free: 331.7 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.007268/2.259, allocations: 1.558 MB / 1.204 GB, free: 331.5 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.00287/2.262, allocations: 1.054 MB / 1.205 GB, free: 331.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02223/2.284, allocations: 6.418 MB / 1.211 GB, free: 329.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/2.284, allocations: 1.219 kB / 1.211 GB, free: 329.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.009131/2.294, allocations: 3.007 MB / 1.214 GB, free: 327.9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01335/2.307, allocations: 1.978 MB / 1.216 GB, free: 327.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03256/2.34, allocations: 10.85 MB / 1.227 GB, free: 321.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003589/2.343, allocations: 2.275 MB / 1.229 GB, free: 321 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003626/2.347, allocations: 427.8 kB / 1.23 GB, free: 320.9 MB / 0.8262 GB Notification: Performance of SimCode: time 8.51e-07/2.347, allocations: 0 / 1.23 GB, free: 320.9 MB / 0.8262 GB Notification: Performance of Templates: time 0.2086/2.556, allocations: 260.5 MB / 1.484 GB, free: 83.73 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)