Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 308.1 MB, free: 4.25 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.001278/0.001278, allocations: 198.1 kB / 376.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205 MB / 0.6354 GB, free: 9.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009926/0.0009926, allocations: 105.6 kB / 0.748 GB, free: 61.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001195, allocations: 59.91 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2405, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6158/0.8563, allocations: 197.6 MB / 1.175 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.8681, allocations: 7.657 MB / 1.183 GB, free: 1.344 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002048/0.8702, allocations: 40.19 kB / 1.183 GB, free: 1.328 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.8726, allocations: 0.5654 MB / 1.183 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.006241/0.8789, allocations: 1.828 MB / 1.185 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003664/0.8826, allocations: 1.045 MB / 1.186 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005974/0.8886, allocations: 3.471 MB / 1.189 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/0.8909, allocations: 0.828 MB / 1.19 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004384/0.8953, allocations: 1.407 MB / 1.192 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.8979, allocations: 0.8311 MB / 1.192 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003897/0.8983, allocations: 52.81 kB / 1.193 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004714/0.903, allocations: 1.982 MB / 1.194 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0006177/0.9036, allocations: 280.3 kB / 1.195 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001487/0.9051, allocations: 0.5528 MB / 1.195 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004504/0.9096, allocations: 2.159 MB / 1.197 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9097, allocations: 0 / 1.197 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9097, allocations: 3.938 kB / 1.197 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.232e-05/0.9098, allocations: 0 / 1.197 GB, free: 10.82 MB / 0.7917 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.005133/0.9149, allocations: 1.669 MB / 1.199 GB, free: 9.742 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.9149, allocations: 9.281 kB / 1.199 GB, free: 9.742 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/0.9175, allocations: 435.5 kB / 1.199 GB, free: 9.652 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.9199, allocations: 0.9131 MB / 1.2 GB, free: 9.074 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006762/0.9206, allocations: 170.9 kB / 1.2 GB, free: 9.035 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/0.9209, allocations: 72.22 kB / 1.201 GB, free: 9.012 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.9238, allocations: 1.084 MB / 1.202 GB, free: 8.609 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.9238, allocations: 4.875 kB / 1.202 GB, free: 8.605 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.9239, allocations: 34.58 kB / 1.202 GB, free: 8.578 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.048e-05/0.924, allocations: 37.16 kB / 1.202 GB, free: 8.57 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003584/0.9276, allocations: 1.189 MB / 1.203 GB, free: 8.207 MB / 0.7917 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.007923/0.9355, allocations: 4.114 MB / 1.207 GB, free: 5.422 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/0.9384, allocations: 0.8573 MB / 1.208 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.9398, allocations: 0.4933 MB / 1.208 GB, free: 5.023 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008509/0.9406, allocations: 0.636 MB / 1.209 GB, free: 4.352 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001691/0.9423, allocations: 0.5973 MB / 1.209 GB, free: 4.137 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=57): time 3.957e-06/0.9424, allocations: 0 / 1.209 GB, free: 4.137 MB / 0.7917 GB Notification: Performance of matching and sorting (n=57): time 0.004756/0.9471, allocations: 1.407 MB / 1.211 GB, free: 3.715 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.9472, allocations: 84.98 kB / 1.211 GB, free: 3.617 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.9488, allocations: 0.8447 MB / 1.212 GB, free: 3.25 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.9489, allocations: 38.95 kB / 1.212 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/0.9494, allocations: 433.5 kB / 1.212 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.9496, allocations: 195.9 kB / 1.212 GB, free: 2.719 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/0.9499, allocations: 128.8 kB / 1.212 GB, free: 2.656 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.9501, allocations: 332.9 kB / 1.213 GB, free: 2.34 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.9514, allocations: 423.6 kB / 1.213 GB, free: 2.223 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.953, allocations: 0.5392 MB / 1.214 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/0.9558, allocations: 0.9042 MB / 1.215 GB, free: 1.625 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.9559, allocations: 4 kB / 1.215 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003492/0.9594, allocations: 1.079 MB / 1.216 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.9594, allocations: 37.84 kB / 1.216 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.9594, allocations: 2.75 kB / 1.216 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.9595, allocations: 4.641 kB / 1.216 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.9609, allocations: 235.2 kB / 1.216 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000823/0.9618, allocations: 1.196 MB / 1.217 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.9632, allocations: 165 kB / 1.217 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.486e-05/0.9633, allocations: 32.3 kB / 1.217 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00178/0.9651, allocations: 0.6174 MB / 1.218 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001562/0.9666, allocations: 0.5334 MB / 1.218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002778/0.9694, allocations: 0.9014 MB / 1.219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.519e-06/0.9695, allocations: 0.7188 kB / 1.219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.003494/0.973, allocations: 1.074 MB / 1.22 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/0.973, allocations: 35.7 kB / 1.22 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.973, allocations: 5.875 kB / 1.22 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.973, allocations: 4.25 kB / 1.22 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.9741, allocations: 200.1 kB / 1.221 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.9742, allocations: 9.656 kB / 1.221 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.9754, allocations: 157 kB / 1.221 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-05/0.9755, allocations: 35.11 kB / 1.221 GB, free: 14.6 MB / 0.8073 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 (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 (69): * Single equations (assignments): 66 * 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.0003242/0.9759, allocations: 220.1 kB / 1.221 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.9761, allocations: 99.92 kB / 1.221 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/0.9797, allocations: 1.123 MB / 1.222 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.9797, allocations: 14.34 kB / 1.222 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.9797, allocations: 1.312 kB / 1.222 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.9797, allocations: 4.594 kB / 1.222 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005836/0.9856, allocations: 2.313 MB / 1.224 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.9857, allocations: 1.781 kB / 1.224 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.9869, allocations: 206.7 kB / 1.225 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.9869, allocations: 6.594 kB / 1.225 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.765e-05/0.987, allocations: 21.22 kB / 1.225 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006633/0.9876, allocations: 1.19 MB / 1.226 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.341e-06/0.9876, allocations: 3.969 kB / 1.226 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/0.9935, allocations: 2.492 MB / 1.228 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007206/0.9942, allocations: 287.6 kB / 1.229 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.9944, allocations: 15.56 kB / 1.229 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.9955, allocations: 129.5 kB / 1.229 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.9957, allocations: 64.78 kB / 1.229 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9e-05/0.9958, allocations: 39.09 kB / 1.229 GB, free: 10 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000961/0.9968, allocations: 0.5779 MB / 1.229 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9968, allocations: 1.344 kB / 1.229 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001846/0.9987, allocations: 496.6 kB / 1.23 GB, free: 9.645 MB / 0.8073 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.0007151/0.9994, allocations: 291.8 kB / 1.23 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.005245/1.005, allocations: 1.631 MB / 1.232 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.005, allocations: 1.219 kB / 1.232 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001866/1.007, allocations: 0.5603 MB / 1.232 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/1.009, allocations: 458.7 kB / 1.233 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/1.014, allocations: 2.616 MB / 1.235 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/1.015, allocations: 1.055 MB / 1.236 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00143/1.017, allocations: 284.7 kB / 1.236 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/1.017, allocations: 86.7 kB / 1.237 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/1.017, allocations: 4 kB / 1.237 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of Templates: time 0.0319/1.049, allocations: 19.25 MB / 1.255 GB, free: 11.13 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)