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.671/1.671, allocations: 288.4 MB / 303.3 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.001117/0.001117, allocations: 180.5 kB / 372 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.595/1.595, allocations: 205.4 MB / 0.6307 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.0007939/0.0007939, allocations: 95.12 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003942, allocations: 11.69 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.214, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6658/0.8799, allocations: 182.2 MB / 1.158 GB, free: 5.305 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.8918, allocations: 7.111 MB / 1.164 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.8935, allocations: 36.47 kB / 1.165 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.8952, allocations: 458.4 kB / 1.165 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00511/0.9003, allocations: 1.455 MB / 1.166 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.9034, allocations: 0.8987 MB / 1.167 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004829/0.9083, allocations: 2.967 MB / 1.17 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.9096, allocations: 0.7071 MB / 1.171 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003215/0.9129, allocations: 1.218 MB / 1.172 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.9143, allocations: 0.7471 MB / 1.173 GB, free: 10 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.9145, allocations: 42.41 kB / 1.173 GB, free: 10 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/0.9178, allocations: 1.265 MB / 1.174 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004157/0.9182, allocations: 257.3 kB / 1.174 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005217/0.9187, allocations: 245.2 kB / 1.175 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002405/0.9212, allocations: 1.485 MB / 1.176 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9212, allocations: 5.094 kB / 1.176 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9212, allocations: 0 / 1.176 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.9212, allocations: 0 / 1.176 GB, free: 8.047 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.003679/0.9249, allocations: 1.472 MB / 1.177 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.925, allocations: 9.031 kB / 1.177 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/0.9251, allocations: 115.1 kB / 1.178 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.9275, allocations: 480.4 kB / 1.178 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.9293, allocations: 0.8798 MB / 1.179 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006322/0.9299, allocations: 188.3 kB / 1.179 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.9301, allocations: 73.28 kB / 1.179 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.9325, allocations: 1.128 MB / 1.18 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.9325, allocations: 0 / 1.18 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/0.9326, allocations: 35.92 kB / 1.18 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/0.9327, allocations: 33.44 kB / 1.18 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003152/0.9358, allocations: 1.267 MB / 1.182 GB, free: 4.555 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.006656/0.9425, allocations: 4.161 MB / 1.186 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.945, allocations: 0.9253 MB / 1.186 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.9463, allocations: 0.5417 MB / 1.187 GB, free: 428 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008613/0.9472, allocations: 0.6537 MB / 1.188 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/0.9487, allocations: 0.6333 MB / 1.188 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 3.516e-06/0.9487, allocations: 7.984 kB / 1.188 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.004223/0.9529, allocations: 1.516 MB / 1.19 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.953, allocations: 90.05 kB / 1.19 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.9541, allocations: 0.8233 MB / 1.191 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.692e-05/0.9542, allocations: 40.53 kB / 1.191 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.9546, allocations: 434.8 kB / 1.191 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.9547, allocations: 193.8 kB / 1.191 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.9548, allocations: 10.91 kB / 1.191 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.9549, allocations: 329.2 kB / 1.192 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.9562, allocations: 455.1 kB / 1.192 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.9575, allocations: 0.5734 MB / 1.193 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.9588, allocations: 0.4919 MB / 1.193 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.9588, allocations: 0 / 1.193 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003067/0.9619, allocations: 1.161 MB / 1.194 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.962, allocations: 167.8 kB / 1.194 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.962, allocations: 2.812 kB / 1.194 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.9621, allocations: 5.094 kB / 1.194 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.9635, allocations: 251.1 kB / 1.195 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007444/0.9642, allocations: 1.197 MB / 1.196 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.9656, allocations: 199.8 kB / 1.196 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.9657, allocations: 27.64 kB / 1.196 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.9657, allocations: 4.156 kB / 1.196 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002815/0.9685, allocations: 1.059 MB / 1.197 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.9685, allocations: 2.938 kB / 1.197 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/0.9686, allocations: 3.25 kB / 1.197 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.9696, allocations: 222.3 kB / 1.197 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.9696, allocations: 6.625 kB / 1.197 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.9709, allocations: 185.8 kB / 1.197 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.971, allocations: 36 kB / 1.197 GB, free: 9.594 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.0005542/0.9715, allocations: 340 kB / 1.198 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.9717, allocations: 93.19 kB / 1.198 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/0.9748, allocations: 1.205 MB / 1.199 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.9748, allocations: 6.156 kB / 1.199 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.9748, allocations: 0 / 1.199 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.9749, allocations: 3.984 kB / 1.199 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004763/0.9796, allocations: 2.4 MB / 1.201 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.9796, allocations: 4 kB / 1.201 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.9807, allocations: 220 kB / 1.202 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.9808, allocations: 8 kB / 1.202 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.9808, allocations: 19.98 kB / 1.202 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006525/0.9815, allocations: 1.188 MB / 1.203 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9815, allocations: 4.031 kB / 1.203 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.9846, allocations: 1.286 MB / 1.204 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005445/0.9851, allocations: 291.5 kB / 1.204 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.9853, allocations: 19.95 kB / 1.204 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.9864, allocations: 155.8 kB / 1.205 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.9866, allocations: 60.3 kB / 1.205 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.739e-05/0.9867, allocations: 39.97 kB / 1.205 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000794/0.9875, allocations: 0.5626 MB / 1.205 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9875, allocations: 0 / 1.205 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001391/0.9889, allocations: 491 kB / 1.206 GB, free: 2.484 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.003886/0.9928, allocations: 2.037 MB / 1.208 GB, free: 408 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004889/0.9977, allocations: 1.738 MB / 1.209 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9977, allocations: 0 / 1.209 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.9993, allocations: 0.6003 MB / 1.21 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/1.002, allocations: 466.2 kB / 1.21 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/1.016, allocations: 6.319 MB / 1.217 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/1.016, allocations: 1.039 MB / 1.218 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00146/1.018, allocations: 289.8 kB / 1.218 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005897/1.018, allocations: 359.3 kB / 1.218 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of SimCode: time 1.322e-06/1.018, allocations: 0 / 1.218 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04639/1.065, allocations: 26.97 MB / 1.244 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/1.065, allocations: 279.9 kB / 1.245 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.855/3.92, allocations: 0 / 1.245 GB, free: 10.34 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)