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.986/1.986, allocations: 288.2 MB / 303.2 MB, free: 8.219 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.001618/0.001618, allocations: 178.5 kB / 371.8 MB, free: 10.29 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.52/1.52, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001095/0.001095, allocations: 78.94 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004019, allocations: 16.8 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.202, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6801/0.8822, allocations: 166.8 MB / 1.142 GB, free: 14.78 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01745/0.8997, allocations: 6.962 MB / 1.149 GB, free: 10.26 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/0.9022, allocations: 33 kB / 1.149 GB, free: 10.24 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003521/0.9057, allocations: 0.6199 MB / 1.15 GB, free: 9.715 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.9158, allocations: 1.735 MB / 1.151 GB, free: 8.289 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006348/0.9222, allocations: 1.167 MB / 1.153 GB, free: 7.496 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00549/0.9277, allocations: 1.545 MB / 1.154 GB, free: 6.477 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.9301, allocations: 0.74 MB / 1.155 GB, free: 6.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004511/0.9346, allocations: 1.09 MB / 1.156 GB, free: 5.312 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.9365, allocations: 0.5495 MB / 1.156 GB, free: 4.988 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.9368, allocations: 40.78 kB / 1.156 GB, free: 4.988 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004652/0.9414, allocations: 1.102 MB / 1.158 GB, free: 4.469 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005034/0.942, allocations: 239.5 kB / 1.158 GB, free: 4.309 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007642/0.9428, allocations: 240.5 kB / 1.158 GB, free: 4.168 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.946, allocations: 1.411 MB / 1.159 GB, free: 3.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.946, allocations: 0 / 1.159 GB, free: 3.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.884e-06/0.946, allocations: 5.094 kB / 1.159 GB, free: 3.246 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.946, allocations: 0 / 1.159 GB, free: 3.246 MB / 0.698 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.005591/0.9516, allocations: 1.446 MB / 1.161 GB, free: 2.137 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.9517, allocations: 9.438 kB / 1.161 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000287/0.952, allocations: 119 kB / 1.161 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/0.9558, allocations: 477.3 kB / 1.161 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003358/0.9592, allocations: 0.8636 MB / 1.162 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001187/0.9604, allocations: 182.4 kB / 1.162 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003111/0.9607, allocations: 71.78 kB / 1.162 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004426/0.9652, allocations: 1.126 MB / 1.164 GB, free: 416 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.9652, allocations: 0.9375 kB / 1.164 GB, free: 416 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.9654, allocations: 29.94 kB / 1.164 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.669e-05/0.9655, allocations: 33.66 kB / 1.164 GB, free: 384 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005171/0.9707, allocations: 1.265 MB / 1.165 GB, free: 15.79 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.01173/0.9824, allocations: 4.188 MB / 1.169 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004176/0.9867, allocations: 0.9508 MB / 1.17 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008944/0.9876, allocations: 485.7 kB / 1.17 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002442/0.9901, allocations: 0.6377 MB / 1.171 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 6.512e-06/0.9901, allocations: 3.984 kB / 1.171 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.006743/0.9969, allocations: 1.515 MB / 1.172 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.997, allocations: 90.47 kB / 1.173 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/0.9992, allocations: 0.832 MB / 1.173 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002373/0.9995, allocations: 38.52 kB / 1.173 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/1, allocations: 432.5 kB / 1.174 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/1, allocations: 196.5 kB / 1.174 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/1.001, allocations: 13.66 kB / 1.174 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.001, allocations: 323.8 kB / 1.174 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/1.003, allocations: 454.8 kB / 1.175 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/1.005, allocations: 0.5739 MB / 1.175 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/1.006, allocations: 0.493 MB / 1.176 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.006, allocations: 0 / 1.176 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003228/1.01, allocations: 1.153 MB / 1.177 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003846/1.01, allocations: 0.7305 MB / 1.178 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.01, allocations: 2.719 kB / 1.178 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/1.01, allocations: 8.719 kB / 1.178 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/1.011, allocations: 253.9 kB / 1.178 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007988/1.012, allocations: 1.199 MB / 1.179 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.014, allocations: 181.8 kB / 1.179 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/1.014, allocations: 36.53 kB / 1.179 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/1.014, allocations: 6.812 kB / 1.179 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002814/1.017, allocations: 1.049 MB / 1.18 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.017, allocations: 3.031 kB / 1.18 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/1.017, allocations: 9.406 kB / 1.18 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/1.018, allocations: 217.8 kB / 1.181 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.018, allocations: 7 kB / 1.181 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.019, allocations: 196.9 kB / 1.181 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/1.019, allocations: 28.86 kB / 1.181 GB, free: 4.648 MB / 0.7136 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.0006408/1.02, allocations: 336.1 kB / 1.181 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/1.02, allocations: 97.66 kB / 1.181 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/1.024, allocations: 1.207 MB / 1.182 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/1.024, allocations: 7.625 kB / 1.182 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.024, allocations: 0 / 1.182 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/1.024, allocations: 7.938 kB / 1.182 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005372/1.029, allocations: 2.398 MB / 1.185 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.029, allocations: 4.188 kB / 1.185 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/1.03, allocations: 229.1 kB / 1.185 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.725e-05/1.03, allocations: 5.219 kB / 1.185 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.531e-05/1.03, allocations: 22.23 kB / 1.185 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007613/1.031, allocations: 1.193 MB / 1.186 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/1.031, allocations: 3 kB / 1.186 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/1.034, allocations: 1.421 MB / 1.187 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008031/1.035, allocations: 290.6 kB / 1.188 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002862/1.035, allocations: 25.56 kB / 1.188 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/1.037, allocations: 163 kB / 1.188 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/1.037, allocations: 55.45 kB / 1.188 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.763e-05/1.037, allocations: 37.34 kB / 1.188 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009207/1.038, allocations: 0.5725 MB / 1.189 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/1.038, allocations: 0 / 1.189 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00179/1.04, allocations: 493 kB / 1.189 GB, free: 15.09 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.00459/1.044, allocations: 2.901 MB / 1.192 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005079/1.05, allocations: 1.743 MB / 1.194 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.05, allocations: 0 / 1.194 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/1.051, allocations: 0.5964 MB / 1.194 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/1.054, allocations: 463.7 kB / 1.195 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007178/1.061, allocations: 3.822 MB / 1.198 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007978/1.062, allocations: 1.062 MB / 1.199 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001527/1.064, allocations: 283.6 kB / 1.2 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006152/1.064, allocations: 355.3 kB / 1.2 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of SimCode: time 2.725e-06/1.064, allocations: 0 / 1.2 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05653/1.121, allocations: 26.61 MB / 1.226 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/1.121, allocations: 283.7 kB / 1.226 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.817/3.938, allocations: 0 / 1.226 GB, free: 10.62 MB / 0.7605 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)