Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 192.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.516/2.516, allocations: 469.8 MB / 0.7424 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003346/0.003346, allocations: 70.39 kB / 0.9087 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2421, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06897/0.3111, allocations: 75.24 MB / 1.138 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.3289, allocations: 15.16 MB / 1.152 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.3304, allocations: 63.62 kB / 1.152 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.3322, allocations: 0.8307 MB / 1.153 GB, free: 2.582 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005203/0.3374, allocations: 2.59 MB / 1.156 GB, free: 15.98 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.3401, allocations: 1.384 MB / 1.157 GB, free: 14.61 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004628/0.3448, allocations: 4.39 MB / 1.161 GB, free: 10.21 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.3466, allocations: 1.441 MB / 1.163 GB, free: 8.727 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002831/0.3494, allocations: 1.642 MB / 1.164 GB, free: 7.086 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.3507, allocations: 1.21 MB / 1.166 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.3509, allocations: 160 kB / 1.166 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.3532, allocations: 1.419 MB / 1.167 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003376/0.3535, allocations: 402.6 kB / 1.168 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008001/0.3543, allocations: 0.9099 MB / 1.168 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.3571, allocations: 2.844 MB / 1.171 GB, free: 136 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3571, allocations: 0 / 1.171 GB, free: 136 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3571, allocations: 0 / 1.171 GB, free: 136 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.3571, allocations: 4 kB / 1.171 GB, free: 132 kB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00303/0.3602, allocations: 2.079 MB / 1.173 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.3602, allocations: 8.031 kB / 1.173 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.3604, allocations: 152.1 kB / 1.173 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006906/0.3611, allocations: 230.8 kB / 1.174 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.3631, allocations: 1.45 MB / 1.175 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.3632, allocations: 82 kB / 1.175 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.3633, allocations: 104 kB / 1.175 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.3651, allocations: 1.096 MB / 1.176 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.3651, allocations: 0 / 1.176 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.75e-05/0.3652, allocations: 47.92 kB / 1.176 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.3652, allocations: 31.98 kB / 1.176 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.367, allocations: 0.89 MB / 1.177 GB, free: 9.805 MB / 0.9356 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.005253/0.3722, allocations: 4.95 MB / 1.182 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.3735, allocations: 0.6246 MB / 1.183 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006718/0.3742, allocations: 355.5 kB / 1.183 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006145/0.3748, allocations: 0.8316 MB / 1.184 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3749, allocations: 39.12 kB / 1.184 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 1.503e-06/0.3749, allocations: 0 / 1.184 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.004367/0.3792, allocations: 1.401 MB / 1.185 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.3793, allocations: 67.91 kB / 1.185 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.3807, allocations: 1.222 MB / 1.186 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.3808, allocations: 41.7 kB / 1.186 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000495/0.3813, allocations: 0.6026 MB / 1.187 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.3814, allocations: 224.8 kB / 1.187 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.3817, allocations: 154.6 kB / 1.187 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3818, allocations: 333.9 kB / 1.188 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/0.3824, allocations: 292.7 kB / 1.188 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008043/0.3832, allocations: 0.492 MB / 1.189 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.3846, allocations: 0.7082 MB / 1.189 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3846, allocations: 0 / 1.189 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004277/0.3889, allocations: 1.269 MB / 1.19 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3889, allocations: 4 kB / 1.19 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3889, allocations: 4 kB / 1.19 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.3895, allocations: 157 kB / 1.191 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.39, allocations: 155.8 kB / 1.191 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008111/0.3909, allocations: 0.7123 MB / 1.191 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007697/0.3916, allocations: 127 kB / 1.192 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/0.3917, allocations: 31.98 kB / 1.192 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009237/0.3926, allocations: 0.5566 MB / 1.192 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007864/0.3934, allocations: 499.8 kB / 1.193 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001302/0.3947, allocations: 0.6926 MB / 1.193 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.3947, allocations: 0 / 1.193 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004185/0.3989, allocations: 1.273 MB / 1.195 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.399, allocations: 8 kB / 1.195 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.399, allocations: 0 / 1.195 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004909/0.3995, allocations: 149.1 kB / 1.195 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.4, allocations: 163.7 kB / 1.195 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007663/0.4008, allocations: 0.7128 MB / 1.196 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000781/0.4016, allocations: 101.4 kB / 1.196 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.4016, allocations: 27.98 kB / 1.196 GB, free: 5.98 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.4018, allocations: 240.1 kB / 1.196 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.402, allocations: 130.4 kB / 1.196 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/0.4063, allocations: 1.268 MB / 1.197 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.4063, allocations: 4 kB / 1.197 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.4063, allocations: 0 / 1.197 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003793/0.4101, allocations: 1.088 MB / 1.198 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.4135, allocations: 2.318 MB / 1.201 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4135, allocations: 4 kB / 1.201 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.4139, allocations: 111.9 kB / 1.201 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004922/0.4144, allocations: 156.9 kB / 1.201 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/0.4145, allocations: 23.98 kB / 1.201 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007541/0.4152, allocations: 0.6967 MB / 1.202 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.4152, allocations: 12 kB / 1.202 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.4177, allocations: 1.391 MB / 1.203 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.4181, allocations: 307.2 kB / 1.203 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.4182, allocations: 23.92 kB / 1.203 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006836/0.4189, allocations: 52 kB / 1.203 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.419, allocations: 56.25 kB / 1.203 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.4191, allocations: 31.98 kB / 1.203 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001053/0.4202, allocations: 0.8857 MB / 1.204 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4202, allocations: 0 / 1.204 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001395/0.4216, allocations: 0.7134 MB / 1.205 GB, free: 12.2 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003418/0.425, allocations: 2.299 MB / 1.207 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00243/0.4274, allocations: 1.164 MB / 1.208 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4274, allocations: 0 / 1.208 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008365/0.4283, allocations: 395.3 kB / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/0.4313, allocations: 0.8048 MB / 1.209 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/0.4491, allocations: 10.49 MB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007311/0.4498, allocations: 1.176 MB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009289/0.4508, allocations: 303 kB / 1.221 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/0.4514, allocations: 0.5149 MB / 1.222 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of SimCode: time 1.91e-07/0.4514, allocations: 0 / 1.222 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.208/5.659, allocations: 42.19 MB / 1.263 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.04/25.7, allocations: 16.86 kB / 1.263 GB, free: 169.4 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)