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 1.389/1.389, allocations: 287.4 MB / 302.6 MB, free: 8.25 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.000869/0.000869, allocations: 179.1 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.095/1.095, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.00067/0.00067, allocations: 92.41 kB / 0.7431 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003252, allocations: 11.61 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4433/0.586, allocations: 182.2 MB / 1.157 GB, free: 6.086 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008627/0.5947, allocations: 7.105 MB / 1.164 GB, free: 304 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.5957, allocations: 36.09 kB / 1.164 GB, free: 288 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.597, allocations: 456.4 kB / 1.164 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.003425/0.6004, allocations: 1.46 MB / 1.165 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.6026, allocations: 0.8989 MB / 1.166 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003127/0.6057, allocations: 2.992 MB / 1.169 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.6069, allocations: 0.7853 MB / 1.17 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.6094, allocations: 1.221 MB / 1.171 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.6106, allocations: 0.748 MB / 1.172 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.6108, allocations: 41.34 kB / 1.172 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.6131, allocations: 1.266 MB / 1.173 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003017/0.6134, allocations: 257.3 kB / 1.173 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003581/0.6137, allocations: 244.4 kB / 1.174 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.6153, allocations: 1.49 MB / 1.175 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6153, allocations: 1.094 kB / 1.175 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6153, allocations: 0 / 1.175 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.041e-05/0.6153, allocations: 0 / 1.175 GB, free: 8.781 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.00304/0.6184, allocations: 1.467 MB / 1.177 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.6184, allocations: 9.844 kB / 1.177 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.6186, allocations: 114.9 kB / 1.177 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.6208, allocations: 481.1 kB / 1.177 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.6223, allocations: 0.9144 MB / 1.178 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005629/0.6229, allocations: 188.3 kB / 1.178 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.623, allocations: 73.3 kB / 1.178 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.6251, allocations: 1.123 MB / 1.179 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.6251, allocations: 3.938 kB / 1.179 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.6252, allocations: 27.88 kB / 1.179 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.6253, allocations: 37.86 kB / 1.179 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002835/0.6281, allocations: 1.269 MB / 1.181 GB, free: 5.258 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.005472/0.6336, allocations: 4.167 MB / 1.185 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.6358, allocations: 0.9345 MB / 1.186 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.637, allocations: 0.5351 MB / 1.186 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006641/0.6377, allocations: 0.6455 MB / 1.187 GB, free: 416 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001316/0.639, allocations: 0.6361 MB / 1.187 GB, free: 44 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 1.953e-06/0.639, allocations: 0 / 1.187 GB, free: 44 kB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.003599/0.6426, allocations: 1.523 MB / 1.189 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.6427, allocations: 87.27 kB / 1.189 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008571/0.6435, allocations: 0.8314 MB / 1.19 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.6436, allocations: 39.92 kB / 1.19 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.6439, allocations: 432.2 kB / 1.19 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.644, allocations: 191.3 kB / 1.191 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.6441, allocations: 10.66 kB / 1.191 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.6442, allocations: 325.8 kB / 1.191 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.6453, allocations: 457.1 kB / 1.191 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.6465, allocations: 0.5716 MB / 1.192 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/0.6487, allocations: 0.979 MB / 1.193 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6487, allocations: 2.375 kB / 1.193 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002528/0.6512, allocations: 1.158 MB / 1.194 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.138e-05/0.6513, allocations: 179.7 kB / 1.194 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.6513, allocations: 2.156 kB / 1.194 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.6513, allocations: 2.969 kB / 1.194 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.6526, allocations: 246.3 kB / 1.194 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005564/0.6531, allocations: 1.199 MB / 1.195 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009936/0.6542, allocations: 186.3 kB / 1.196 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.6542, allocations: 31.52 kB / 1.196 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/0.6542, allocations: 5.094 kB / 1.196 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002426/0.6567, allocations: 1.055 MB / 1.197 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.6567, allocations: 0 / 1.197 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-06/0.6567, allocations: 4.812 kB / 1.197 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009009/0.6576, allocations: 222.5 kB / 1.197 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.6576, allocations: 3 kB / 1.197 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009232/0.6585, allocations: 195.5 kB / 1.197 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/0.6586, allocations: 31.45 kB / 1.197 GB, free: 10.03 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.0003792/0.659, allocations: 343.6 kB / 1.197 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.6591, allocations: 97.69 kB / 1.198 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/0.6619, allocations: 1.217 MB / 1.199 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6619, allocations: 5.938 kB / 1.199 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6619, allocations: 0 / 1.199 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.6619, allocations: 3.984 kB / 1.199 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004046/0.666, allocations: 2.394 MB / 1.201 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.666, allocations: 3.938 kB / 1.201 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009426/0.6669, allocations: 220 kB / 1.201 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.667, allocations: 4 kB / 1.201 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/0.667, allocations: 23.97 kB / 1.201 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004701/0.6675, allocations: 1.199 MB / 1.203 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6675, allocations: 4 kB / 1.203 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.6701, allocations: 1.29 MB / 1.204 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.6704, allocations: 283.6 kB / 1.204 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.6705, allocations: 19.92 kB / 1.204 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009954/0.6715, allocations: 155.9 kB / 1.204 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.6717, allocations: 60.3 kB / 1.204 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.117e-05/0.6717, allocations: 31.97 kB / 1.204 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005923/0.6723, allocations: 0.5743 MB / 1.205 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6723, allocations: 0 / 1.205 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009801/0.6733, allocations: 487 kB / 1.205 GB, free: 2.805 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.003236/0.6766, allocations: 2.012 MB / 1.207 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004136/0.6807, allocations: 1.742 MB / 1.209 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6807, allocations: 0 / 1.209 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.6822, allocations: 0.6042 MB / 1.21 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.6844, allocations: 454.8 kB / 1.21 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.6958, allocations: 6.334 MB / 1.216 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.6963, allocations: 1.043 MB / 1.217 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00114/0.6974, allocations: 289 kB / 1.218 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.6979, allocations: 359.2 kB / 1.218 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.6979, allocations: 0 / 1.218 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6092/1.307, allocations: 26.95 MB / 1.244 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/1.307, allocations: 258.5 kB / 1.244 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/3.915, allocations: 0 / 1.244 GB, free: 10.74 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)