Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.609/2.609, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001537/0.001537, allocations: 174.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001181/0.001181, allocations: 106.5 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005156/0.0005156, allocations: 11.69 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2191, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.8919/1.111, allocations: 166.8 MB / 1.141 GB, free: 14.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01519/1.126, allocations: 6.964 MB / 1.148 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/1.128, allocations: 38.47 kB / 1.148 GB, free: 11.03 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003167/1.131, allocations: 0.6192 MB / 1.149 GB, free: 10.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008434/1.14, allocations: 1.737 MB / 1.15 GB, free: 9.148 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005595/1.146, allocations: 1.152 MB / 1.151 GB, free: 8.371 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004645/1.15, allocations: 1.556 MB / 1.153 GB, free: 7.34 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/1.152, allocations: 0.7363 MB / 1.154 GB, free: 6.887 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004129/1.156, allocations: 1.082 MB / 1.155 GB, free: 6.188 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/1.158, allocations: 0.5501 MB / 1.155 GB, free: 5.863 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002523/1.158, allocations: 44.97 kB / 1.155 GB, free: 5.859 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004217/1.163, allocations: 1.102 MB / 1.156 GB, free: 5.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000628/1.163, allocations: 242.3 kB / 1.157 GB, free: 5.176 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006381/1.164, allocations: 241.1 kB / 1.157 GB, free: 5.035 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003598/1.168, allocations: 1.403 MB / 1.158 GB, free: 4.125 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.168, allocations: 0 / 1.158 GB, free: 4.125 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/1.168, allocations: 1.125 kB / 1.158 GB, free: 4.125 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.626e-05/1.168, allocations: 0 / 1.158 GB, free: 4.125 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.00592/1.174, allocations: 1.45 MB / 1.16 GB, free: 3.012 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.174, allocations: 9.656 kB / 1.16 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003498/1.174, allocations: 123 kB / 1.16 GB, free: 2.906 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004263/1.178, allocations: 477.6 kB / 1.16 GB, free: 2.711 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/1.181, allocations: 0.855 MB / 1.161 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001221/1.183, allocations: 197.2 kB / 1.161 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002519/1.183, allocations: 77.17 kB / 1.161 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004681/1.188, allocations: 1.118 MB / 1.162 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/1.188, allocations: 1.406 kB / 1.162 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/1.188, allocations: 26.56 kB / 1.162 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.191e-05/1.188, allocations: 36.7 kB / 1.162 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006155/1.194, allocations: 1.27 MB / 1.164 GB, free: 0.6602 MB / 0.698 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.01144/1.205, allocations: 4.186 MB / 1.168 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/1.21, allocations: 0.9423 MB / 1.169 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009826/1.212, allocations: 489.6 kB / 1.169 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002809/1.214, allocations: 0.6364 MB / 1.17 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 3.356e-06/1.214, allocations: 0 / 1.17 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.007863/1.222, allocations: 1.52 MB / 1.171 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/1.222, allocations: 86.02 kB / 1.171 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/1.224, allocations: 0.8276 MB / 1.172 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002007/1.224, allocations: 39.42 kB / 1.172 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/1.225, allocations: 430.2 kB / 1.173 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/1.225, allocations: 196.5 kB / 1.173 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.493e-05/1.225, allocations: 10.75 kB / 1.173 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.225, allocations: 338.8 kB / 1.173 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/1.228, allocations: 452 kB / 1.174 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/1.23, allocations: 0.5805 MB / 1.174 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/1.233, allocations: 496.5 kB / 1.175 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.233, allocations: 4 kB / 1.175 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005431/1.238, allocations: 1.15 MB / 1.176 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003944/1.239, allocations: 0.7329 MB / 1.176 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.239, allocations: 4.641 kB / 1.176 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.239, allocations: 5.594 kB / 1.176 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002586/1.241, allocations: 247.1 kB / 1.177 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/1.242, allocations: 1.197 MB / 1.178 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/1.244, allocations: 189 kB / 1.178 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/1.245, allocations: 29.95 kB / 1.178 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.245, allocations: 2.781 kB / 1.178 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005079/1.25, allocations: 1.06 MB / 1.179 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.25, allocations: 0 / 1.179 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/1.25, allocations: 5.094 kB / 1.179 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/1.252, allocations: 226 kB / 1.179 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/1.252, allocations: 8.734 kB / 1.179 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/1.254, allocations: 184 kB / 1.179 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/1.254, allocations: 29.77 kB / 1.18 GB, free: 5.535 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.0007912/1.255, allocations: 343.4 kB / 1.18 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/1.255, allocations: 99.22 kB / 1.18 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005583/1.261, allocations: 1.208 MB / 1.181 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/1.261, allocations: 5.562 kB / 1.181 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.261, allocations: 14.73 kB / 1.181 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/1.261, allocations: 3.984 kB / 1.181 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008428/1.269, allocations: 2.396 MB / 1.183 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.269, allocations: 10.64 kB / 1.183 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/1.271, allocations: 224.1 kB / 1.184 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/1.271, allocations: 5.656 kB / 1.184 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.524e-05/1.271, allocations: 22.27 kB / 1.184 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008175/1.272, allocations: 1.185 MB / 1.185 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.272, allocations: 7.031 kB / 1.185 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/1.278, allocations: 1.423 MB / 1.186 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008876/1.279, allocations: 293.6 kB / 1.187 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/1.279, allocations: 15.66 kB / 1.187 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/1.281, allocations: 163.5 kB / 1.187 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/1.281, allocations: 63.55 kB / 1.187 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/1.282, allocations: 32.62 kB / 1.187 GB, free: 408 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001138/1.283, allocations: 0.5699 MB / 1.187 GB, free: 60 kB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/1.283, allocations: 0 / 1.187 GB, free: 60 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002489/1.285, allocations: 0.4925 MB / 1.188 GB, free: 15.95 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.00772/1.293, allocations: 2.9 MB / 1.191 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008592/1.302, allocations: 1.742 MB / 1.192 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.302, allocations: 0 / 1.192 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003024/1.305, allocations: 0.5957 MB / 1.193 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/1.309, allocations: 453.1 kB / 1.193 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008811/1.318, allocations: 3.82 MB / 1.197 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008609/1.319, allocations: 1.062 MB / 1.198 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002265/1.321, allocations: 297.8 kB / 1.198 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009259/1.322, allocations: 359.3 kB / 1.199 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of SimCode: time 1.463e-06/1.322, allocations: 4 kB / 1.199 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07934/1.401, allocations: 26.58 MB / 1.225 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003598/1.402, allocations: 265.3 kB / 1.225 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.577/4.979, allocations: 2.25 kB / 1.225 GB, free: 11.82 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)