Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.394/1.394, allocations: 288.4 MB / 303.6 MB, free: 8.031 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.0008503/0.0008503, allocations: 184.5 kB / 372.2 MB, free: 10.15 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.12/1.12, allocations: 205.4 MB / 0.631 GB, free: 9.824 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.0006992/0.0006991, allocations: 94.3 kB / 0.7444 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003077, allocations: 20.73 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4483/0.5903, allocations: 182.2 MB / 1.158 GB, free: 5 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009355/0.5997, allocations: 7.116 MB / 1.165 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009062/0.6006, allocations: 36.56 kB / 1.165 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.6018, allocations: 492.4 kB / 1.166 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.003502/0.6053, allocations: 1.659 MB / 1.167 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.6075, allocations: 0.9085 MB / 1.168 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002917/0.6105, allocations: 2.995 MB / 1.171 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009705/0.6115, allocations: 0.7898 MB / 1.172 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00232/0.6138, allocations: 1.32 MB / 1.173 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.6148, allocations: 0.7545 MB / 1.174 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.379e-05/0.6149, allocations: 41.62 kB / 1.174 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.6178, allocations: 1.924 MB / 1.176 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.618, allocations: 251.8 kB / 1.176 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000526/0.6185, allocations: 0.5409 MB / 1.176 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.6201, allocations: 1.547 MB / 1.178 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6201, allocations: 2.438 kB / 1.178 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6201, allocations: 0 / 1.178 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.6201, allocations: 0 / 1.178 GB, free: 6.832 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.002708/0.6228, allocations: 1.47 MB / 1.179 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.6228, allocations: 7.875 kB / 1.179 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.623, allocations: 115.2 kB / 1.18 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.6249, allocations: 481.9 kB / 1.18 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.6263, allocations: 0.9116 MB / 1.181 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005451/0.6269, allocations: 187.7 kB / 1.181 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.432e-05/0.627, allocations: 73.28 kB / 1.181 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.629, allocations: 1.13 MB / 1.182 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.6291, allocations: 0 / 1.182 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.538e-05/0.6291, allocations: 25.81 kB / 1.182 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.6292, allocations: 29.66 kB / 1.182 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002727/0.6319, allocations: 1.275 MB / 1.184 GB, free: 3.305 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.005273/0.6372, allocations: 4.166 MB / 1.188 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.6394, allocations: 0.9333 MB / 1.189 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.6406, allocations: 0.5326 MB / 1.189 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006857/0.6413, allocations: 0.6511 MB / 1.19 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/0.6426, allocations: 0.631 MB / 1.19 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 2.305e-06/0.6427, allocations: 4 kB / 1.19 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.003721/0.6464, allocations: 1.519 MB / 1.192 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.6464, allocations: 93.61 kB / 1.192 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00079/0.6472, allocations: 0.8209 MB / 1.193 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/0.6473, allocations: 47.39 kB / 1.193 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.6476, allocations: 430.9 kB / 1.193 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.6477, allocations: 186.9 kB / 1.193 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.6478, allocations: 11.03 kB / 1.193 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.6479, allocations: 331.6 kB / 1.194 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.649, allocations: 455.5 kB / 1.194 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.6502, allocations: 0.576 MB / 1.195 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002164/0.6523, allocations: 0.982 MB / 1.196 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6524, allocations: 0 / 1.196 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002495/0.6549, allocations: 1.159 MB / 1.197 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.334e-05/0.655, allocations: 172.7 kB / 1.197 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.655, allocations: 2.562 kB / 1.197 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.655, allocations: 5.344 kB / 1.197 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.6562, allocations: 252.8 kB / 1.197 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000535/0.6568, allocations: 1.195 MB / 1.198 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009907/0.6578, allocations: 190.2 kB / 1.198 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.6578, allocations: 31.44 kB / 1.198 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-06/0.6578, allocations: 5.188 kB / 1.199 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002371/0.6602, allocations: 1.053 MB / 1.2 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.6602, allocations: 2.438 kB / 1.2 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.589e-06/0.6602, allocations: 5.312 kB / 1.2 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008699/0.6611, allocations: 224.5 kB / 1.2 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.6611, allocations: 5.719 kB / 1.2 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008588/0.662, allocations: 188.7 kB / 1.2 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.6621, allocations: 35.28 kB / 1.2 GB, free: 8.074 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.0003686/0.6624, allocations: 337 kB / 1.2 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.6625, allocations: 104 kB / 1.2 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.6652, allocations: 1.209 MB / 1.202 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.6652, allocations: 7.984 kB / 1.202 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6653, allocations: 0 / 1.202 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.6653, allocations: 0 / 1.202 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003954/0.6692, allocations: 2.396 MB / 1.204 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6692, allocations: 7.938 kB / 1.204 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009211/0.6702, allocations: 228.1 kB / 1.204 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.6702, allocations: 7.938 kB / 1.204 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.6702, allocations: 19.98 kB / 1.204 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000442/0.6707, allocations: 1.192 MB / 1.205 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6707, allocations: 0 / 1.205 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.6732, allocations: 1.294 MB / 1.207 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/0.6736, allocations: 287.6 kB / 1.207 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.6737, allocations: 19.94 kB / 1.207 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009977/0.6747, allocations: 155.8 kB / 1.207 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.6748, allocations: 60.3 kB / 1.207 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/0.6749, allocations: 35.97 kB / 1.207 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005622/0.6754, allocations: 0.5626 MB / 1.208 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6754, allocations: 0 / 1.208 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009823/0.6764, allocations: 491 kB / 1.208 GB, free: 120 kB / 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.003168/0.6796, allocations: 2.023 MB / 1.21 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004037/0.6837, allocations: 1.746 MB / 1.212 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6837, allocations: 0 / 1.212 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.6851, allocations: 0.5964 MB / 1.212 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.6873, allocations: 455.8 kB / 1.213 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.6985, allocations: 6.32 MB / 1.219 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.699, allocations: 1.043 MB / 1.22 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001048/0.7, allocations: 294.4 kB / 1.22 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.7005, allocations: 359.3 kB / 1.221 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.7005, allocations: 4 kB / 1.221 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.213/1.913, allocations: 27.19 MB / 1.247 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/1.914, allocations: 266.7 kB / 1.247 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.793/4.706, allocations: 0 / 1.247 GB, free: 7.746 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)