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.862/2.862, allocations: 287.5 MB / 302.4 MB, free: 8.355 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.001354/0.001354, allocations: 185.1 kB / 371 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.041/2.041, allocations: 205.4 MB / 0.6297 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.0009393/0.0009389, allocations: 88.86 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005104, allocations: 16.06 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2028, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.9085/1.111, allocations: 182.2 MB / 1.156 GB, free: 6.188 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01693/1.128, allocations: 7.096 MB / 1.163 GB, free: 412 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/1.13, allocations: 36.56 kB / 1.163 GB, free: 396 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002654/1.133, allocations: 465.3 kB / 1.164 GB, free: 0 / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006902/1.14, allocations: 1.454 MB / 1.165 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004628/1.145, allocations: 0.8963 MB / 1.166 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006543/1.151, allocations: 2.966 MB / 1.169 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/1.154, allocations: 0.7054 MB / 1.17 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004992/1.159, allocations: 1.213 MB / 1.171 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002472/1.161, allocations: 0.7602 MB / 1.172 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003717/1.162, allocations: 40.31 kB / 1.172 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005106/1.167, allocations: 1.266 MB / 1.173 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0008141/1.168, allocations: 249.2 kB / 1.173 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007927/1.168, allocations: 247.8 kB / 1.173 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004042/1.172, allocations: 1.491 MB / 1.175 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.172, allocations: 0 / 1.175 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.046e-06/1.172, allocations: 4 kB / 1.175 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.718e-05/1.173, allocations: 1 kB / 1.175 GB, free: 8.938 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.006047/1.179, allocations: 1.471 MB / 1.176 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.179, allocations: 10.12 kB / 1.176 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003973/1.179, allocations: 114 kB / 1.176 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004192/1.183, allocations: 477.7 kB / 1.177 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/1.186, allocations: 0.8828 MB / 1.178 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001234/1.188, allocations: 189.1 kB / 1.178 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/1.188, allocations: 73.42 kB / 1.178 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004335/1.192, allocations: 1.126 MB / 1.179 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/1.192, allocations: 4 kB / 1.179 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/1.193, allocations: 27.56 kB / 1.179 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.598e-05/1.193, allocations: 37.95 kB / 1.179 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005956/1.199, allocations: 1.265 MB / 1.18 GB, free: 5.453 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.01111/1.21, allocations: 4.156 MB / 1.184 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004622/1.214, allocations: 0.9406 MB / 1.185 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/1.217, allocations: 0.5415 MB / 1.186 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/1.218, allocations: 0.6491 MB / 1.186 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002751/1.221, allocations: 0.6247 MB / 1.187 GB, free: 260 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 3.707e-06/1.221, allocations: 0 / 1.187 GB, free: 260 kB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.007668/1.229, allocations: 1.53 MB / 1.189 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/1.229, allocations: 83.55 kB / 1.189 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/1.23, allocations: 0.8275 MB / 1.189 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002269/1.231, allocations: 38.36 kB / 1.189 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005168/1.231, allocations: 425 kB / 1.19 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/1.231, allocations: 197.8 kB / 1.19 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/1.232, allocations: 10.62 kB / 1.19 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.232, allocations: 328.1 kB / 1.19 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/1.234, allocations: 455.1 kB / 1.191 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/1.237, allocations: 0.5771 MB / 1.191 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/1.239, allocations: 496 kB / 1.192 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/1.239, allocations: 3 kB / 1.192 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005508/1.245, allocations: 1.161 MB / 1.193 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001665/1.245, allocations: 170.8 kB / 1.193 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.245, allocations: 2.875 kB / 1.193 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/1.245, allocations: 8.969 kB / 1.193 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/1.247, allocations: 248.6 kB / 1.193 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/1.249, allocations: 1.192 MB / 1.195 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/1.251, allocations: 189.9 kB / 1.195 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.251, allocations: 30.86 kB / 1.195 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/1.251, allocations: 5.75 kB / 1.195 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005168/1.256, allocations: 1.054 MB / 1.196 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.256, allocations: 3.156 kB / 1.196 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/1.256, allocations: 3 kB / 1.196 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/1.258, allocations: 231.4 kB / 1.196 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.258, allocations: 2.969 kB / 1.196 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/1.26, allocations: 186.1 kB / 1.196 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/1.261, allocations: 30.38 kB / 1.196 GB, free: 10.51 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.0007897/1.261, allocations: 352.1 kB / 1.197 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/1.262, allocations: 93.12 kB / 1.197 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006306/1.268, allocations: 1.208 MB / 1.198 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/1.268, allocations: 9.031 kB / 1.198 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/1.268, allocations: 4 kB / 1.198 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/1.268, allocations: 3.984 kB / 1.198 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/1.282, allocations: 2.404 MB / 1.2 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/1.283, allocations: 2.938 kB / 1.2 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003229/1.286, allocations: 227.2 kB / 1.2 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-05/1.286, allocations: 4 kB / 1.2 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/1.286, allocations: 19.98 kB / 1.2 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/1.287, allocations: 1.196 MB / 1.202 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/1.287, allocations: 7.938 kB / 1.202 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00587/1.293, allocations: 1.286 MB / 1.203 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.294, allocations: 295.5 kB / 1.203 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/1.294, allocations: 19.95 kB / 1.203 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/1.297, allocations: 147.9 kB / 1.203 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/1.297, allocations: 56.34 kB / 1.203 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.297, allocations: 27.98 kB / 1.203 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001291/1.298, allocations: 0.5743 MB / 1.204 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.91e-07/1.299, allocations: 4 kB / 1.204 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002491/1.301, allocations: 487 kB / 1.204 GB, free: 3.582 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.007871/1.309, allocations: 2.021 MB / 1.206 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009309/1.318, allocations: 1.742 MB / 1.208 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.722e-05/1.318, allocations: 4 kB / 1.208 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003289/1.322, allocations: 0.6041 MB / 1.209 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004686/1.326, allocations: 454.5 kB / 1.209 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02534/1.352, allocations: 6.325 MB / 1.215 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009403/1.353, allocations: 1.039 MB / 1.216 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002456/1.355, allocations: 289.7 kB / 1.217 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.356, allocations: 363.2 kB / 1.217 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of SimCode: time 1.392e-06/1.356, allocations: 0 / 1.217 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08973/1.446, allocations: 26.95 MB / 1.243 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004571/1.447, allocations: 271 kB / 1.244 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.481/4.928, allocations: 0 / 1.244 GB, free: 11.52 MB / 0.7761 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)