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.202/1.202, allocations: 251.5 MB / 266.7 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.0008025/0.0008025, allocations: 165.4 kB / 325.8 MB, free: 2.68 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.248/1.248, allocations: 205 MB / 0.576 GB, free: 20.95 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.0006497/0.0006497, allocations: 91.89 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002684/0.0002684, allocations: 8.938 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1309, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4469/0.5778, allocations: 197.5 MB / 1.089 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007972/0.5858, allocations: 7.694 MB / 1.097 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009652/0.5868, allocations: 39.97 kB / 1.097 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.588, allocations: 0.5656 MB / 1.097 GB, free: 1.324 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.5916, allocations: 1.917 MB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.5937, allocations: 1.055 MB / 1.1 GB, free: 1.18 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002515/0.5963, allocations: 3.461 MB / 1.103 GB, free: 1.168 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007712/0.597, allocations: 0.794 MB / 1.104 GB, free: 1.055 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.5988, allocations: 1.293 MB / 1.105 GB, free: 1.035 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.5999, allocations: 0.8351 MB / 1.106 GB, free: 1.023 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.91e-05/0.6, allocations: 41.97 kB / 1.106 GB, free: 1.023 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.6026, allocations: 1.964 MB / 1.108 GB, free: 1.004 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.6028, allocations: 261 kB / 1.108 GB, free: 1.004 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004052/0.6032, allocations: 0.54 MB / 1.109 GB, free: 1 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.6051, allocations: 2.112 MB / 1.111 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.6051, allocations: 0 / 1.111 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6051, allocations: 4 kB / 1.111 GB, free: 0.875 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.6052, allocations: 0 / 1.111 GB, free: 0.875 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.002557/0.6077, allocations: 1.467 MB / 1.113 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.6078, allocations: 11.19 kB / 1.113 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.6079, allocations: 110.2 kB / 1.113 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/0.6099, allocations: 484.7 kB / 1.113 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.6111, allocations: 0.915 MB / 1.114 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005496/0.6117, allocations: 188.4 kB / 1.114 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.305e-05/0.6118, allocations: 75.98 kB / 1.114 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.6137, allocations: 1.127 MB / 1.115 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.6138, allocations: 5.859 kB / 1.115 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.185e-05/0.6138, allocations: 35.28 kB / 1.115 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.6139, allocations: 34.89 kB / 1.115 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.6164, allocations: 1.27 MB / 1.117 GB, free: 15.39 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.00481/0.6213, allocations: 4.171 MB / 1.121 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.6234, allocations: 0.9399 MB / 1.122 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.6245, allocations: 0.5389 MB / 1.122 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/0.6252, allocations: 0.647 MB / 1.123 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001269/0.6265, allocations: 0.6345 MB / 1.123 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 2.344e-06/0.6265, allocations: 0 / 1.123 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.003675/0.6302, allocations: 1.53 MB / 1.125 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.6302, allocations: 83.95 kB / 1.125 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.6312, allocations: 0.8332 MB / 1.126 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.6313, allocations: 39.66 kB / 1.126 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.6316, allocations: 438.2 kB / 1.126 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.6318, allocations: 189.6 kB / 1.126 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.799e-05/0.6318, allocations: 51.78 kB / 1.126 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.6319, allocations: 331.2 kB / 1.127 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.6332, allocations: 459.6 kB / 1.127 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.6345, allocations: 0.5887 MB / 1.128 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.6366, allocations: 0.9789 MB / 1.129 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6366, allocations: 2.156 kB / 1.129 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002462/0.6391, allocations: 1.164 MB / 1.13 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.203e-05/0.6392, allocations: 176.1 kB / 1.13 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6392, allocations: 3.344 kB / 1.13 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.6392, allocations: 2.938 kB / 1.13 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.6404, allocations: 255.1 kB / 1.13 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000546/0.641, allocations: 1.19 MB / 1.131 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.642, allocations: 193 kB / 1.132 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.418e-05/0.6421, allocations: 32.88 kB / 1.132 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/0.6421, allocations: 5.719 kB / 1.132 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002407/0.6445, allocations: 1.059 MB / 1.133 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-06/0.6445, allocations: 0 / 1.133 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-06/0.6445, allocations: 5.906 kB / 1.133 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008641/0.6454, allocations: 224.6 kB / 1.133 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.6454, allocations: 5.125 kB / 1.133 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009132/0.6463, allocations: 186.9 kB / 1.133 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/0.6464, allocations: 28.56 kB / 1.133 GB, free: 9.684 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004043/0.6468, allocations: 351.7 kB / 1.134 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.647, allocations: 100.7 kB / 1.134 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.6495, allocations: 1.204 MB / 1.135 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.6496, allocations: 5.125 kB / 1.135 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.6496, allocations: 9.812 kB / 1.135 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.6496, allocations: 8.062 kB / 1.135 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003725/0.6533, allocations: 2.394 MB / 1.137 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6533, allocations: 2.531 kB / 1.137 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008994/0.6542, allocations: 226.4 kB / 1.137 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.6543, allocations: 6 kB / 1.137 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/0.6543, allocations: 19.86 kB / 1.137 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004464/0.6548, allocations: 1.184 MB / 1.139 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6548, allocations: 6 kB / 1.139 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.6573, allocations: 1.297 MB / 1.14 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.6577, allocations: 294.6 kB / 1.14 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.6578, allocations: 19.78 kB / 1.14 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009777/0.6588, allocations: 151.5 kB / 1.14 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.6589, allocations: 58.2 kB / 1.14 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/0.659, allocations: 32.53 kB / 1.14 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005798/0.6596, allocations: 0.5802 MB / 1.141 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6596, allocations: 4 kB / 1.141 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001016/0.6606, allocations: 490.9 kB / 1.141 GB, free: 6.598 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003104/0.6637, allocations: 2.023 MB / 1.143 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003964/0.6677, allocations: 1.75 MB / 1.145 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6677, allocations: 0 / 1.145 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.6691, allocations: 0.6026 MB / 1.146 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.6713, allocations: 462.2 kB / 1.146 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.6852, allocations: 8.675 MB / 1.155 GB, free: 272 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.6857, allocations: 1.053 MB / 1.156 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00115/0.6869, allocations: 283.6 kB / 1.156 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/0.6874, allocations: 354.8 kB / 1.156 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.6874, allocations: 0 / 1.156 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6189/1.306, allocations: 25.82 MB / 1.181 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/1.307, allocations: 303.2 kB / 1.182 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/4.506, allocations: 0 / 1.182 GB, free: 5.77 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)