Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.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.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000759/0.0007593, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004988/0.004988, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001672/0.001672, allocations: 274.8 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9461/0.9461, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004417, allocations: 15.61 kB / 0.5987 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1737, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 0.6353/0.809, allocations: 348.2 MB / 1.025 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.4319/1.241, allocations: 31.93 MB / 1.056 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005859/1.247, allocations: 145.7 kB / 1.057 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.007439/1.254, allocations: 2.369 MB / 1.059 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.02287/1.277, allocations: 7.666 MB / 1.066 GB, free: 1.777 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0091/1.286, allocations: 3.76 MB / 1.07 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.02041/1.307, allocations: 16.24 MB / 1.086 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008876/1.316, allocations: 3.75 MB / 1.089 GB, free: 17.1 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01484/1.331, allocations: 6.407 MB / 1.096 GB, free: 16.99 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00832/1.339, allocations: 3.872 MB / 1.1 GB, free: 16.96 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001528/1.34, allocations: 212.9 kB / 1.1 GB, free: 16.96 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01413/1.355, allocations: 5.979 MB / 1.106 GB, free: 16.91 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003934/1.359, allocations: 1.175 MB / 1.107 GB, free: 16.91 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.007232/1.366, allocations: 2.645 MB / 1.109 GB, free: 16.53 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01522/1.381, allocations: 8.772 MB / 1.118 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/1.381, allocations: 0 / 1.118 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.745e-06/1.381, allocations: 0 / 1.118 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002328/1.381, allocations: 0 / 1.118 GB, free: 14.1 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01563/1.397, allocations: 5.252 MB / 1.123 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.397, allocations: 14.38 kB / 1.123 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/1.409, allocations: 2.222 MB / 1.125 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008666/1.418, allocations: 3.766 MB / 1.129 GB, free: 8.48 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003131/1.421, allocations: 0.913 MB / 1.13 GB, free: 8.246 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/1.422, allocations: 349.5 kB / 1.13 GB, free: 8.246 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/1.436, allocations: 4.894 MB / 1.135 GB, free: 6.91 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.248e-05/1.436, allocations: 2.344 kB / 1.135 GB, free: 6.91 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004922/1.436, allocations: 133.9 kB / 1.135 GB, free: 6.91 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/1.437, allocations: 158.7 kB / 1.135 GB, free: 6.887 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/1.452, allocations: 5.547 MB / 1.141 GB, free: 5.855 MB / 0.7637 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.03677/1.489, allocations: 19.72 MB / 1.16 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/1.501, allocations: 4.038 MB / 1.164 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005977/1.507, allocations: 2.127 MB / 1.166 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/1.508, allocations: 0.7018 MB / 1.167 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006654/1.514, allocations: 2.397 MB / 1.169 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=247): time 4.579e-06/1.515, allocations: 0 / 1.169 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of matching and sorting (n=247): time 0.01865/1.533, allocations: 6.053 MB / 1.175 GB, free: 12.17 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/1.533, allocations: 105.1 kB / 1.175 GB, free: 12.05 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005844/1.539, allocations: 3.669 MB / 1.178 GB, free: 9.391 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0008011/1.54, allocations: 87.02 kB / 1.179 GB, free: 9.34 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00168/1.542, allocations: 1.855 MB / 1.18 GB, free: 7.938 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/1.543, allocations: 0.8354 MB / 1.181 GB, free: 7.109 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004392/1.543, allocations: 272 kB / 1.181 GB, free: 6.836 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.636e-05/1.543, allocations: 301.1 kB / 1.182 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005858/1.549, allocations: 2.001 MB / 1.184 GB, free: 4.535 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006691/1.556, allocations: 2.734 MB / 1.186 GB, free: 1.559 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/1.568, allocations: 4.27 MB / 1.191 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/1.568, allocations: 7.938 kB / 1.191 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.01585/1.584, allocations: 5.174 MB / 1.196 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003083/1.584, allocations: 444.8 kB / 1.196 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/1.584, allocations: 8 kB / 1.196 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.582e-05/1.584, allocations: 24 kB / 1.196 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007008/1.591, allocations: 1.239 MB / 1.197 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/1.594, allocations: 5.968 MB / 1.203 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006693/1.601, allocations: 0.8455 MB / 1.204 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007846/1.602, allocations: 151.9 kB / 1.204 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/1.602, allocations: 6.5 kB / 1.204 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01366/1.616, allocations: 4.755 MB / 1.209 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/1.616, allocations: 8 kB / 1.209 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/1.616, allocations: 27.94 kB / 1.209 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005504/1.621, allocations: 1.084 MB / 1.21 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.875e-05/1.621, allocations: 37.64 kB / 1.21 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006187/1.628, allocations: 0.8109 MB / 1.211 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004606/1.628, allocations: 151.9 kB / 1.211 GB, free: 8.211 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 15 (hexPar.flowRegime_nominal,hexPar.flowRegime,hexCou.flowRegime_nominal,hexCou.flowRegime,hexCroC1Mix.flowRegime_nominal,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime_nominal,hexCroC1Unm.flowRegime,hexCroUnm.flowRegime_nominal,hexCroUnm.flowRegime,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * 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): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002267/1.63, allocations: 0.91 MB / 1.212 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/1.631, allocations: 441.2 kB / 1.212 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/1.645, allocations: 4.832 MB / 1.217 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.17e-05/1.645, allocations: 35.92 kB / 1.217 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.645, allocations: 4 kB / 1.217 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.171e-05/1.645, allocations: 11.95 kB / 1.217 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/1.666, allocations: 9.252 MB / 1.226 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/1.667, allocations: 4 kB / 1.226 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005261/1.672, allocations: 0.8974 MB / 1.227 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.661e-05/1.672, allocations: 16 kB / 1.227 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002649/1.672, allocations: 87.86 kB / 1.227 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003014/1.675, allocations: 5.938 MB / 1.233 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.675, allocations: 15.5 kB / 1.233 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/1.688, allocations: 4.752 MB / 1.237 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00262/1.691, allocations: 0.9982 MB / 1.238 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007798/1.692, allocations: 52 kB / 1.238 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005567/1.697, allocations: 0.7244 MB / 1.239 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003819/1.698, allocations: 200.5 kB / 1.239 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002886/1.698, allocations: 127.9 kB / 1.239 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003813/1.702, allocations: 2.436 MB / 1.242 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/1.702, allocations: 0 / 1.242 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005658/1.708, allocations: 2.293 MB / 1.244 GB, free: 5.754 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * 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): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001528/1.709, allocations: 0.7245 MB / 1.245 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02125/1.73, allocations: 7.501 MB / 1.252 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.73, allocations: 4.438 kB / 1.252 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.006747/1.737, allocations: 2.374 MB / 1.254 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01434/1.752, allocations: 2.047 MB / 1.256 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01908/1.771, allocations: 10.01 MB / 1.266 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/1.773, allocations: 2.38 MB / 1.268 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.006759/1.78, allocations: 1.25 MB / 1.27 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/1.781, allocations: 371.3 kB / 1.27 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of SimCode: time 1.022e-06/1.781, allocations: 0 / 1.27 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of Templates: time 0.1372/1.918, allocations: 84.54 MB / 1.353 GB, free: 7.914 MB / 0.9669 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)