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.533/1.533, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001112/0.001112, allocations: 181.4 kB / 326.5 MB, free: 2.25 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.772/1.772, allocations: 205.4 MB / 0.5775 GB, free: 20.33 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.0008751/0.000875, allocations: 94.28 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 9.156 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2093, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6834/0.8927, allocations: 166.9 MB / 1.063 GB, free: 3.965 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.9045, allocations: 7.016 MB / 1.07 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.9063, allocations: 39.41 kB / 1.07 GB, free: 3.895 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.9085, allocations: 0.6156 MB / 1.071 GB, free: 3.895 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00674/0.9152, allocations: 1.793 MB / 1.072 GB, free: 3.875 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004316/0.9196, allocations: 1.154 MB / 1.074 GB, free: 3.84 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004426/0.924, allocations: 1.558 MB / 1.075 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.926, allocations: 0.7346 MB / 1.076 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003308/0.9293, allocations: 1.051 MB / 1.077 GB, free: 3.75 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.9307, allocations: 0.5823 MB / 1.077 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.9309, allocations: 41.47 kB / 1.077 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003666/0.9346, allocations: 1.1 MB / 1.078 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.9349, allocations: 243.2 kB / 1.079 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007806/0.9357, allocations: 246.5 kB / 1.079 GB, free: 19.71 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.9382, allocations: 1.409 MB / 1.08 GB, free: 19.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9382, allocations: 0 / 1.08 GB, free: 19.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9382, allocations: 0 / 1.08 GB, free: 19.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.9382, allocations: 0 / 1.08 GB, free: 19.6 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.00368/0.9419, allocations: 1.448 MB / 1.082 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.942, allocations: 9.344 kB / 1.082 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001966/0.9422, allocations: 118.1 kB / 1.082 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/0.9446, allocations: 473.6 kB / 1.082 GB, free: 18.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.9464, allocations: 0.867 MB / 1.083 GB, free: 18.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006612/0.9471, allocations: 187.4 kB / 1.083 GB, free: 18.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.9473, allocations: 75.09 kB / 1.083 GB, free: 18.33 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/0.9499, allocations: 1.12 MB / 1.084 GB, free: 18.22 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.9499, allocations: 0 / 1.084 GB, free: 18.22 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/0.95, allocations: 30.03 kB / 1.085 GB, free: 18.22 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.452e-05/0.9501, allocations: 36.81 kB / 1.085 GB, free: 18.21 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003313/0.9534, allocations: 1.267 MB / 1.086 GB, free: 18.18 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.007534/0.9609, allocations: 4.19 MB / 1.09 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.9638, allocations: 0.9528 MB / 1.091 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000683/0.9645, allocations: 486 kB / 1.091 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001685/0.9662, allocations: 0.6293 MB / 1.092 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 3.657e-06/0.9662, allocations: 0 / 1.092 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.004541/0.9707, allocations: 1.52 MB / 1.093 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.9708, allocations: 85.97 kB / 1.093 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.972, allocations: 0.8357 MB / 1.094 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.9721, allocations: 43.11 kB / 1.094 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.9725, allocations: 423.8 kB / 1.095 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.9727, allocations: 194.6 kB / 1.095 GB, free: 15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.9728, allocations: 12.88 kB / 1.095 GB, free: 15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.9729, allocations: 328.2 kB / 1.095 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.9741, allocations: 454.8 kB / 1.096 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.9754, allocations: 0.5819 MB / 1.096 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.9767, allocations: 492.4 kB / 1.097 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.9767, allocations: 7.016 kB / 1.097 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002894/0.9796, allocations: 1.152 MB / 1.098 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002789/0.9799, allocations: 0.7354 MB / 1.099 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.9799, allocations: 3.219 kB / 1.099 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.9799, allocations: 4.875 kB / 1.099 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.9813, allocations: 248.1 kB / 1.099 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006852/0.982, allocations: 1.199 MB / 1.1 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.9835, allocations: 188.5 kB / 1.1 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.49e-05/0.9836, allocations: 32.16 kB / 1.1 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.9836, allocations: 4.844 kB / 1.1 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002885/0.9865, allocations: 1.054 MB / 1.101 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9865, allocations: 0 / 1.101 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.9865, allocations: 9.672 kB / 1.101 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.9875, allocations: 222.9 kB / 1.101 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.9876, allocations: 5.5 kB / 1.101 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.989, allocations: 196.2 kB / 1.102 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/0.9891, allocations: 25.75 kB / 1.102 GB, free: 12.21 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.0007933/0.9899, allocations: 344.6 kB / 1.102 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.9901, allocations: 97.09 kB / 1.102 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003059/0.9932, allocations: 1.206 MB / 1.103 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.9932, allocations: 12.48 kB / 1.103 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9932, allocations: 1.859 kB / 1.103 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.9932, allocations: 3.094 kB / 1.103 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004785/0.998, allocations: 2.406 MB / 1.106 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.9981, allocations: 5.719 kB / 1.106 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.9991, allocations: 225.4 kB / 1.106 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.9991, allocations: 5.312 kB / 1.106 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/0.9992, allocations: 23.97 kB / 1.106 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005991/0.9998, allocations: 1.187 MB / 1.107 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.9998, allocations: 9.531 kB / 1.107 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/1.003, allocations: 1.421 MB / 1.108 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006793/1.004, allocations: 289.5 kB / 1.109 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/1.004, allocations: 19.08 kB / 1.109 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.005, allocations: 158.8 kB / 1.109 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/1.005, allocations: 61.39 kB / 1.109 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.422e-05/1.005, allocations: 35.92 kB / 1.109 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007928/1.006, allocations: 0.5722 MB / 1.109 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.006, allocations: 0 / 1.109 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001465/1.007, allocations: 489.9 kB / 1.11 GB, free: 9.355 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.00421/1.012, allocations: 2.906 MB / 1.113 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004783/1.016, allocations: 1.749 MB / 1.115 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.016, allocations: 1.969 kB / 1.115 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/1.018, allocations: 0.597 MB / 1.115 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/1.021, allocations: 450.9 kB / 1.116 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00648/1.027, allocations: 3.806 MB / 1.119 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008517/1.028, allocations: 1.062 MB / 1.12 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00172/1.03, allocations: 296 kB / 1.121 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005649/1.03, allocations: 358.5 kB / 1.121 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of SimCode: time 1.382e-06/1.03, allocations: 0.9688 kB / 1.121 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04677/1.077, allocations: 26.6 MB / 1.147 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/1.077, allocations: 273.1 kB / 1.147 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.789/3.866, allocations: 0 / 1.147 GB, free: 5.527 MB / 0.7292 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)