Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 178.5 kB / 326.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 0.5776 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008872/0.0008871, allocations: 95.27 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 14.52 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2505, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.7551/1.006, allocations: 182.3 MB / 1.078 GB, free: 4.105 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0135/1.019, allocations: 7.148 MB / 1.085 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/1.021, allocations: 37.78 kB / 1.085 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/1.023, allocations: 453 kB / 1.086 GB, free: 3.934 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005844/1.029, allocations: 1.519 MB / 1.087 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003485/1.032, allocations: 0.896 MB / 1.088 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00509/1.037, allocations: 2.972 MB / 1.091 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/1.039, allocations: 0.7078 MB / 1.092 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003574/1.043, allocations: 1.159 MB / 1.093 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/1.045, allocations: 0.7839 MB / 1.094 GB, free: 3.719 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002431/1.045, allocations: 41.44 kB / 1.094 GB, free: 3.719 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/1.049, allocations: 1.26 MB / 1.095 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004755/1.05, allocations: 257.2 kB / 1.095 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006895/1.05, allocations: 247.2 kB / 1.095 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002758/1.053, allocations: 1.487 MB / 1.097 GB, free: 3.543 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.053, allocations: 0 / 1.097 GB, free: 3.543 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/1.053, allocations: 0 / 1.097 GB, free: 3.543 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.82e-05/1.053, allocations: 4 kB / 1.097 GB, free: 3.539 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.004115/1.057, allocations: 1.472 MB / 1.098 GB, free: 18.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.057, allocations: 13 kB / 1.098 GB, free: 18.69 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/1.057, allocations: 115.2 kB / 1.098 GB, free: 18.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/1.06, allocations: 476.3 kB / 1.099 GB, free: 18.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/1.062, allocations: 0.8852 MB / 1.1 GB, free: 18.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006869/1.062, allocations: 186.5 kB / 1.1 GB, free: 18.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/1.063, allocations: 71.77 kB / 1.1 GB, free: 18.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/1.065, allocations: 1.128 MB / 1.101 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/1.065, allocations: 0 / 1.101 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.962e-05/1.065, allocations: 31.41 kB / 1.101 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/1.065, allocations: 34.95 kB / 1.101 GB, free: 18.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003288/1.069, allocations: 1.265 MB / 1.102 GB, free: 18.1 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.007514/1.076, allocations: 4.174 MB / 1.106 GB, free: 16.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/1.079, allocations: 0.9342 MB / 1.107 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/1.08, allocations: 0.5352 MB / 1.108 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000903/1.081, allocations: 0.6512 MB / 1.109 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/1.083, allocations: 0.6315 MB / 1.109 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 3.667e-06/1.083, allocations: 0 / 1.109 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.004438/1.087, allocations: 1.519 MB / 1.111 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/1.087, allocations: 91.05 kB / 1.111 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/1.088, allocations: 0.8242 MB / 1.112 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/1.088, allocations: 38.48 kB / 1.112 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/1.089, allocations: 432.5 kB / 1.112 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/1.089, allocations: 199.4 kB / 1.112 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/1.089, allocations: 11.25 kB / 1.112 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.089, allocations: 333.8 kB / 1.112 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/1.09, allocations: 451.8 kB / 1.113 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/1.092, allocations: 0.581 MB / 1.113 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/1.093, allocations: 498.1 kB / 1.114 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.093, allocations: 0 / 1.114 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003034/1.096, allocations: 1.163 MB / 1.115 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/1.096, allocations: 163.7 kB / 1.115 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.096, allocations: 6.938 kB / 1.115 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/1.096, allocations: 5.812 kB / 1.115 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.098, allocations: 254.8 kB / 1.116 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008151/1.099, allocations: 1.191 MB / 1.117 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/1.1, allocations: 188.7 kB / 1.117 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.428e-05/1.1, allocations: 36.53 kB / 1.117 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/1.1, allocations: 5.109 kB / 1.117 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002764/1.103, allocations: 1.051 MB / 1.118 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/1.103, allocations: 4.438 kB / 1.118 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/1.103, allocations: 4.969 kB / 1.118 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/1.104, allocations: 224 kB / 1.118 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/1.104, allocations: 9.047 kB / 1.118 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/1.105, allocations: 187.6 kB / 1.118 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/1.105, allocations: 29.72 kB / 1.118 GB, free: 12.48 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.0007312/1.106, allocations: 344.6 kB / 1.119 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/1.106, allocations: 92.78 kB / 1.119 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003354/1.11, allocations: 1.198 MB / 1.12 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/1.11, allocations: 15.28 kB / 1.12 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/1.11, allocations: 3.953 kB / 1.12 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.11, allocations: 2.484 kB / 1.12 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006021/1.116, allocations: 2.39 MB / 1.122 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/1.116, allocations: 6.625 kB / 1.122 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/1.117, allocations: 219.3 kB / 1.123 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-05/1.117, allocations: 5.75 kB / 1.123 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.434e-05/1.117, allocations: 22.39 kB / 1.123 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007853/1.118, allocations: 1.187 MB / 1.124 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.403e-05/1.118, allocations: 7.406 kB / 1.124 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/1.122, allocations: 1.297 MB / 1.125 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008122/1.123, allocations: 287 kB / 1.125 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/1.124, allocations: 21.42 kB / 1.125 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.125, allocations: 160.2 kB / 1.125 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/1.125, allocations: 57.77 kB / 1.125 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.963e-05/1.125, allocations: 33.77 kB / 1.126 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001112/1.126, allocations: 0.5746 MB / 1.126 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.3e-07/1.126, allocations: 0 / 1.126 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001997/1.128, allocations: 486.3 kB / 1.127 GB, free: 9.816 MB / 0.7136 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.004177/1.133, allocations: 2.033 MB / 1.129 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005237/1.138, allocations: 1.737 MB / 1.13 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.138, allocations: 0 / 1.13 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/1.14, allocations: 0.6019 MB / 1.131 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/1.143, allocations: 463.5 kB / 1.131 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/1.159, allocations: 6.298 MB / 1.137 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/1.159, allocations: 1.046 MB / 1.138 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00154/1.161, allocations: 283.8 kB / 1.139 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/1.161, allocations: 357.8 kB / 1.139 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of SimCode: time 1.282e-06/1.161, allocations: 0 / 1.139 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0533/1.215, allocations: 26.98 MB / 1.165 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002839/1.215, allocations: 274.8 kB / 1.166 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.041/4.256, allocations: 0 / 1.166 GB, free: 15.21 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)