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.001067/0.001067, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001331/0.001331, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001806/0.001806, allocations: 270.6 kB / 291.4 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9601/0.9601, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003924, allocations: 14.5 kB / 0.598 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 0.5623/0.6935, allocations: 325.7 MB / 1.003 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03798/0.7316, allocations: 29.98 MB / 1.032 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005093/0.7367, allocations: 139.1 kB / 1.032 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00568/0.7424, allocations: 1.824 MB / 1.034 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01636/0.7588, allocations: 6.104 MB / 1.04 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.008113/0.7669, allocations: 3.04 MB / 1.043 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.3738/1.141, allocations: 13.97 MB / 1.056 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006669/1.147, allocations: 3.363 MB / 1.06 GB, free: 33.95 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01293/1.16, allocations: 5.65 MB / 1.065 GB, free: 33.93 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006557/1.167, allocations: 3.677 MB / 1.069 GB, free: 33.91 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001353/1.168, allocations: 213.4 kB / 1.069 GB, free: 33.91 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008925/1.177, allocations: 3.404 MB / 1.072 GB, free: 33.91 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002039/1.179, allocations: 1.147 MB / 1.073 GB, free: 33.91 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002545/1.182, allocations: 1.068 MB / 1.074 GB, free: 33.88 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007913/1.19, allocations: 6.371 MB / 1.081 GB, free: 33.55 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.19, allocations: 0 / 1.081 GB, free: 33.55 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.613e-06/1.19, allocations: 0 / 1.081 GB, free: 33.55 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001623/1.19, allocations: 2.031 kB / 1.081 GB, free: 33.55 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.01302/1.203, allocations: 5.312 MB / 1.086 GB, free: 31.12 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/1.203, allocations: 9.531 kB / 1.086 GB, free: 31.12 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/1.213, allocations: 2.222 MB / 1.088 GB, free: 30.73 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006991/1.22, allocations: 3.608 MB / 1.091 GB, free: 30.05 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002535/1.223, allocations: 0.92 MB / 1.092 GB, free: 29.98 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006817/1.223, allocations: 355.4 kB / 1.093 GB, free: 29.98 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009431/1.233, allocations: 4.869 MB / 1.097 GB, free: 29.63 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.509e-05/1.233, allocations: 2.344 kB / 1.097 GB, free: 29.63 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003724/1.233, allocations: 132.1 kB / 1.098 GB, free: 29.63 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/1.233, allocations: 151.8 kB / 1.098 GB, free: 29.62 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/1.245, allocations: 5.529 MB / 1.103 GB, free: 29.47 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.02764/1.273, allocations: 19.71 MB / 1.122 GB, free: 20.43 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008776/1.282, allocations: 4.031 MB / 1.126 GB, free: 19.59 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004313/1.286, allocations: 2.111 MB / 1.128 GB, free: 19.19 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008494/1.287, allocations: 0.7014 MB / 1.129 GB, free: 18.5 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004895/1.292, allocations: 2.388 MB / 1.131 GB, free: 17.78 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=247): time 4.077e-06/1.292, allocations: 0 / 1.131 GB, free: 17.78 MB / 0.7637 GB Notification: Performance of matching and sorting (n=247): time 0.01416/1.306, allocations: 6.03 MB / 1.137 GB, free: 16.41 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/1.306, allocations: 105.9 kB / 1.137 GB, free: 16.31 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00453/1.311, allocations: 3.631 MB / 1.141 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0005006/1.311, allocations: 90.2 kB / 1.141 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/1.313, allocations: 1.85 MB / 1.143 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006324/1.313, allocations: 0.8293 MB / 1.144 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/1.313, allocations: 59.41 kB / 1.144 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.314, allocations: 429 kB / 1.144 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004515/1.318, allocations: 1.983 MB / 1.146 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004996/1.323, allocations: 2.713 MB / 1.149 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004629/1.328, allocations: 2.112 MB / 1.151 GB, free: 8.539 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/1.328, allocations: 8 kB / 1.151 GB, free: 8.531 MB / 0.7637 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.0118/1.34, allocations: 5.13 MB / 1.156 GB, free: 4.598 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002608/1.34, allocations: 440.3 kB / 1.156 GB, free: 4.055 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/1.34, allocations: 12 kB / 1.156 GB, free: 4.043 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/1.34, allocations: 24 kB / 1.156 GB, free: 4.02 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006093/1.346, allocations: 1.236 MB / 1.157 GB, free: 2.871 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/1.349, allocations: 5.965 MB / 1.163 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005844/1.355, allocations: 0.8481 MB / 1.164 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004416/1.355, allocations: 154 kB / 1.164 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/1.355, allocations: 5.719 kB / 1.164 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01115/1.366, allocations: 4.723 MB / 1.169 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/1.366, allocations: 12 kB / 1.169 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/1.367, allocations: 24 kB / 1.169 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004782/1.371, allocations: 1.088 MB / 1.17 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.474e-05/1.371, allocations: 27.84 kB / 1.17 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005204/1.377, allocations: 0.8159 MB / 1.171 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003383/1.377, allocations: 157 kB / 1.171 GB, free: 6.418 MB / 0.7794 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexCroUnm.flowRegime,hexCroUnm.flowRegime_nominal,hexCroC1Unm.flowRegime,hexCroC1Unm.flowRegime_nominal,hexCroC1Mix.flowRegime,hexCroC1Mix.flowRegime_nominal,hexCou.flowRegime,hexCou.flowRegime_nominal,hexPar.flowRegime,hexPar.flowRegime_nominal) * 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 (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002142/1.379, allocations: 0.9139 MB / 1.172 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.38, allocations: 438.6 kB / 1.172 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/1.392, allocations: 4.822 MB / 1.177 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/1.392, allocations: 24 kB / 1.177 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.392, allocations: 0 / 1.177 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.253e-05/1.392, allocations: 27.45 kB / 1.177 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/1.41, allocations: 9.232 MB / 1.186 GB, free: 11.22 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/1.41, allocations: 12 kB / 1.186 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004184/1.414, allocations: 0.9027 MB / 1.187 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-05/1.414, allocations: 12 kB / 1.187 GB, free: 10.35 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002233/1.414, allocations: 83.75 kB / 1.187 GB, free: 10.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/1.417, allocations: 5.937 MB / 1.193 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.417, allocations: 6.906 kB / 1.193 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/1.428, allocations: 4.738 MB / 1.197 GB, free: 356 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/1.43, allocations: 0.9995 MB / 1.198 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007098/1.431, allocations: 51.8 kB / 1.198 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004776/1.436, allocations: 0.7309 MB / 1.199 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003383/1.436, allocations: 191.7 kB / 1.199 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002871/1.437, allocations: 132.4 kB / 1.199 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00358/1.44, allocations: 2.396 MB / 1.202 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/1.44, allocations: 0 / 1.202 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005532/1.446, allocations: 2.298 MB / 1.204 GB, free: 10.78 MB / 0.8106 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 (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/1.447, allocations: 0.7139 MB / 1.205 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01824/1.465, allocations: 7.465 MB / 1.212 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.465, allocations: 4.438 kB / 1.212 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.005766/1.471, allocations: 2.356 MB / 1.214 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00967/1.481, allocations: 2.083 MB / 1.216 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/1.498, allocations: 9.593 MB / 1.226 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/1.5, allocations: 2.376 MB / 1.228 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.006741/1.507, allocations: 1.246 MB / 1.229 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.508, allocations: 369.5 kB / 1.23 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of SimCode: time 9.12e-07/1.508, allocations: 0 / 1.23 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of Templates: time 0.1261/1.634, allocations: 82.1 MB / 1.31 GB, free: 3.539 MB / 0.9044 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)