Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00215/0.00215, allocations: 194 kB / 16.14 MB, free: 6.688 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 66.81 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3611, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.9521/1.313, allocations: 197.6 MB / 1.261 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01158/1.325, allocations: 7.741 MB / 1.268 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/1.327, allocations: 45.86 kB / 1.268 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002053/1.329, allocations: 0.5654 MB / 1.269 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006385/1.336, allocations: 1.881 MB / 1.27 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003285/1.339, allocations: 1.014 MB / 1.271 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00589/1.345, allocations: 3.472 MB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/1.347, allocations: 0.8278 MB / 1.276 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004613/1.352, allocations: 1.386 MB / 1.277 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003234/1.355, allocations: 0.8346 MB / 1.278 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006284/1.356, allocations: 52.69 kB / 1.278 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00644/1.362, allocations: 1.982 MB / 1.28 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/1.363, allocations: 275.7 kB / 1.28 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002635/1.366, allocations: 0.5623 MB / 1.281 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007607/1.373, allocations: 2.153 MB / 1.283 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/1.373, allocations: 3.938 kB / 1.283 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/1.373, allocations: 0 / 1.283 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.066e-05/1.373, allocations: 4 kB / 1.283 GB, free: 5.176 MB / 0.9981 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.00732/1.381, allocations: 1.67 MB / 1.284 GB, free: 20.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.381, allocations: 8.531 kB / 1.284 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/1.384, allocations: 434.8 kB / 1.285 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/1.387, allocations: 0.915 MB / 1.286 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006856/1.387, allocations: 164.7 kB / 1.286 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/1.388, allocations: 76.56 kB / 1.286 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00316/1.391, allocations: 1.091 MB / 1.287 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/1.391, allocations: 0 / 1.287 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/1.391, allocations: 28.22 kB / 1.287 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/1.391, allocations: 32.2 kB / 1.287 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003709/1.395, allocations: 1.19 MB / 1.288 GB, free: 19.73 MB / 1.014 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.008027/1.403, allocations: 4.114 MB / 1.292 GB, free: 17.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002771/1.406, allocations: 0.8609 MB / 1.293 GB, free: 17.83 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/1.407, allocations: 0.4981 MB / 1.294 GB, free: 17.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009211/1.408, allocations: 0.6358 MB / 1.294 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001695/1.41, allocations: 0.6006 MB / 1.295 GB, free: 17.06 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 5.2e-06/1.41, allocations: 0 / 1.295 GB, free: 17.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.004803/1.415, allocations: 1.403 MB / 1.296 GB, free: 16.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/1.415, allocations: 90.41 kB / 1.296 GB, free: 16.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/1.416, allocations: 0.8406 MB / 1.297 GB, free: 16.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/1.416, allocations: 41.14 kB / 1.297 GB, free: 16.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/1.417, allocations: 427.4 kB / 1.297 GB, free: 16.49 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/1.417, allocations: 192.4 kB / 1.298 GB, free: 16.37 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/1.417, allocations: 128.6 kB / 1.298 GB, free: 16.35 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.417, allocations: 324.6 kB / 1.298 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/1.419, allocations: 422.8 kB / 1.299 GB, free: 16.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/1.42, allocations: 0.5246 MB / 1.299 GB, free: 15.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/1.423, allocations: 0.893 MB / 1.3 GB, free: 15.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/1.423, allocations: 5.094 kB / 1.3 GB, free: 15.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003316/1.426, allocations: 1.06 MB / 1.301 GB, free: 15.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/1.426, allocations: 39.16 kB / 1.301 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.426, allocations: 6.406 kB / 1.301 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/1.426, allocations: 4.656 kB / 1.301 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/1.428, allocations: 226 kB / 1.301 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007702/1.428, allocations: 1.194 MB / 1.302 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1.43, allocations: 163.4 kB / 1.303 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.43, allocations: 32.08 kB / 1.303 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001692/1.432, allocations: 0.6091 MB / 1.303 GB, free: 14.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001362/1.433, allocations: 0.521 MB / 1.304 GB, free: 14.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0025/1.436, allocations: 0.889 MB / 1.305 GB, free: 14.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/1.436, allocations: 0 / 1.305 GB, free: 14.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.00312/1.439, allocations: 1.058 MB / 1.306 GB, free: 13.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/1.439, allocations: 34.75 kB / 1.306 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.439, allocations: 6.031 kB / 1.306 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/1.439, allocations: 4.656 kB / 1.306 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/1.44, allocations: 197.4 kB / 1.306 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/1.44, allocations: 4.219 kB / 1.306 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/1.441, allocations: 148.4 kB / 1.306 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.593e-05/1.442, allocations: 31.3 kB / 1.306 GB, free: 13.84 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (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 (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003228/1.442, allocations: 220.5 kB / 1.306 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/1.442, allocations: 99.41 kB / 1.306 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003339/1.446, allocations: 1.127 MB / 1.307 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/1.446, allocations: 10.25 kB / 1.307 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.446, allocations: 0 / 1.307 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/1.446, allocations: 3.328 kB / 1.307 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005488/1.451, allocations: 2.323 MB / 1.31 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/1.451, allocations: 2.875 kB / 1.31 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/1.452, allocations: 204.3 kB / 1.31 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/1.452, allocations: 5.5 kB / 1.31 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/1.452, allocations: 17.61 kB / 1.31 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006264/1.453, allocations: 1.202 MB / 1.311 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.453, allocations: 2.531 kB / 1.311 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003073/1.456, allocations: 1.206 MB / 1.312 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007523/1.457, allocations: 292.9 kB / 1.313 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003161/1.457, allocations: 15.56 kB / 1.313 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/1.459, allocations: 136.5 kB / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/1.459, allocations: 54.86 kB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.459, allocations: 35.98 kB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009986/1.46, allocations: 0.5774 MB / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.5e-07/1.46, allocations: 4.719 kB / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002323/1.462, allocations: 490.5 kB / 1.314 GB, free: 11.21 MB / 1.014 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 (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009325/1.463, allocations: 298 kB / 1.314 GB, free: 11.08 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004985/1.468, allocations: 1.618 MB / 1.316 GB, free: 10.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.468, allocations: 3.344 kB / 1.316 GB, free: 10.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/1.47, allocations: 0.5569 MB / 1.316 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/1.473, allocations: 472 kB / 1.317 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004894/1.478, allocations: 2.253 MB / 1.319 GB, free: 9.715 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007865/1.478, allocations: 1.039 MB / 1.32 GB, free: 9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001522/1.48, allocations: 288.3 kB / 1.32 GB, free: 8.922 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/1.48, allocations: 85.22 kB / 1.32 GB, free: 8.914 MB / 1.014 GB Notification: Performance of SimCode: time 1.132e-06/1.48, allocations: 3.938 kB / 1.32 GB, free: 8.91 MB / 1.014 GB Notification: Performance of Templates: time 0.04075/1.521, allocations: 18.97 MB / 1.339 GB, free: 3.316 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)