Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.865/2.865, allocations: 287.5 MB / 302.4 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001382/0.001382, allocations: 182.9 kB / 371 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000924/0.0009237, allocations: 89.33 kB / 0.743 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005104, allocations: 19.25 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.217, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.9264/1.143, allocations: 182.2 MB / 1.156 GB, free: 6.219 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01675/1.16, allocations: 7.093 MB / 1.163 GB, free: 448 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/1.162, allocations: 35.75 kB / 1.163 GB, free: 432 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002634/1.165, allocations: 465.6 kB / 1.164 GB, free: 36 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007106/1.172, allocations: 1.449 MB / 1.165 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004511/1.177, allocations: 0.899 MB / 1.166 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006287/1.183, allocations: 2.966 MB / 1.169 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/1.185, allocations: 0.703 MB / 1.17 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00476/1.19, allocations: 1.217 MB / 1.171 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/1.192, allocations: 0.7532 MB / 1.171 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003676/1.193, allocations: 40.88 kB / 1.172 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005156/1.198, allocations: 1.258 MB / 1.173 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0008115/1.199, allocations: 260.3 kB / 1.173 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007133/1.2, allocations: 240.5 kB / 1.173 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004018/1.204, allocations: 1.492 MB / 1.175 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/1.204, allocations: 4 kB / 1.175 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.615e-06/1.204, allocations: 0 / 1.175 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.854e-05/1.204, allocations: 0 / 1.175 GB, free: 8.977 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.006102/1.21, allocations: 1.469 MB / 1.176 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.21, allocations: 13.33 kB / 1.176 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004391/1.214, allocations: 475.6 kB / 1.177 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/1.218, allocations: 0.8792 MB / 1.177 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001225/1.219, allocations: 192.4 kB / 1.178 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/1.219, allocations: 77.2 kB / 1.178 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004411/1.224, allocations: 1.123 MB / 1.179 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/1.224, allocations: 7.984 kB / 1.179 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/1.224, allocations: 36.02 kB / 1.179 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-05/1.224, allocations: 29.41 kB / 1.179 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005972/1.23, allocations: 1.261 MB / 1.18 GB, free: 5.594 MB / 0.7136 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.01129/1.241, allocations: 4.161 MB / 1.184 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004852/1.246, allocations: 0.9364 MB / 1.185 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/1.249, allocations: 0.5327 MB / 1.186 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/1.25, allocations: 0.6524 MB / 1.186 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00286/1.253, allocations: 0.6311 MB / 1.187 GB, free: 404 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 3.837e-06/1.253, allocations: 0 / 1.187 GB, free: 404 kB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.007944/1.261, allocations: 1.527 MB / 1.188 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.168e-05/1.261, allocations: 82.27 kB / 1.188 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/1.263, allocations: 0.8234 MB / 1.189 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002294/1.263, allocations: 47.86 kB / 1.189 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005223/1.264, allocations: 428.3 kB / 1.19 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/1.264, allocations: 193.9 kB / 1.19 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/1.264, allocations: 9.781 kB / 1.19 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.264, allocations: 335.9 kB / 1.19 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/1.267, allocations: 455.9 kB / 1.191 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002592/1.269, allocations: 0.5792 MB / 1.191 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/1.272, allocations: 0.4886 MB / 1.192 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.272, allocations: 0 / 1.192 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005881/1.278, allocations: 1.163 MB / 1.193 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/1.278, allocations: 171.1 kB / 1.193 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/1.278, allocations: 2.938 kB / 1.193 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/1.278, allocations: 3.25 kB / 1.193 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002637/1.281, allocations: 259.7 kB / 1.193 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/1.282, allocations: 1.187 MB / 1.194 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/1.284, allocations: 194.3 kB / 1.195 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/1.284, allocations: 26.8 kB / 1.195 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.284, allocations: 5.938 kB / 1.195 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005217/1.29, allocations: 1.061 MB / 1.196 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.29, allocations: 3 kB / 1.196 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/1.29, allocations: 2.953 kB / 1.196 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/1.292, allocations: 230.6 kB / 1.196 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/1.292, allocations: 8.938 kB / 1.196 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/1.294, allocations: 183.6 kB / 1.196 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/1.294, allocations: 26.86 kB / 1.196 GB, free: 10.63 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008239/1.295, allocations: 348 kB / 1.196 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/1.295, allocations: 96.25 kB / 1.196 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005717/1.301, allocations: 1.202 MB / 1.198 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/1.301, allocations: 6.125 kB / 1.198 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.301, allocations: 0 / 1.198 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/1.301, allocations: 7.141 kB / 1.198 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008598/1.31, allocations: 2.401 MB / 1.2 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.31, allocations: 2.125 kB / 1.2 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/1.312, allocations: 232.4 kB / 1.2 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/1.312, allocations: 4 kB / 1.2 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/1.312, allocations: 19.98 kB / 1.2 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000849/1.313, allocations: 1.192 MB / 1.201 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.313, allocations: 4 kB / 1.201 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005684/1.319, allocations: 1.286 MB / 1.203 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009167/1.319, allocations: 295.5 kB / 1.203 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/1.32, allocations: 15.95 kB / 1.203 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/1.322, allocations: 151.9 kB / 1.203 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/1.322, allocations: 64.28 kB / 1.203 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/1.322, allocations: 27.98 kB / 1.203 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001238/1.324, allocations: 0.5782 MB / 1.204 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.61e-07/1.324, allocations: 0 / 1.204 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002165/1.326, allocations: 487 kB / 1.204 GB, free: 3.699 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009867/1.327, allocations: 285.9 kB / 1.205 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009181/1.336, allocations: 1.738 MB / 1.206 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/1.336, allocations: 4 kB / 1.206 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003188/1.339, allocations: 0.5964 MB / 1.207 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00469/1.344, allocations: 474.8 kB / 1.207 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00782/1.352, allocations: 2.246 MB / 1.209 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.353, allocations: 1.043 MB / 1.21 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002394/1.355, allocations: 284.4 kB / 1.211 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/1.356, allocations: 87.39 kB / 1.211 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of SimCode: time 1.162e-06/1.356, allocations: 0 / 1.211 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of Templates: time 0.05345/1.409, allocations: 18.15 MB / 1.229 GB, free: 10.87 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)