Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y",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.0008002/0.0008036, allocations: 97.64 kB / 15.36 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 173.2 kB / 16.27 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.566/2.566, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.000305, allocations: 8.281 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2541, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06953/0.3237, allocations: 73.47 MB / 1.131 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01836/0.3421, allocations: 15.05 MB / 1.145 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.3441, allocations: 59.62 kB / 1.145 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.346, allocations: 0.676 MB / 1.146 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005934/0.352, allocations: 2.383 MB / 1.148 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.3549, allocations: 1.273 MB / 1.149 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006027/0.361, allocations: 5.562 MB / 1.155 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.3626, allocations: 1.147 MB / 1.156 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.3651, allocations: 1.334 MB / 1.157 GB, free: 15.6 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.3667, allocations: 1.151 MB / 1.158 GB, free: 14.44 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.3669, allocations: 56 kB / 1.159 GB, free: 14.39 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.3694, allocations: 1.239 MB / 1.16 GB, free: 13.14 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002973/0.3698, allocations: 290.6 kB / 1.16 GB, free: 12.86 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008454/0.3706, allocations: 0.8022 MB / 1.161 GB, free: 12.05 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003248/0.3739, allocations: 2.718 MB / 1.163 GB, free: 9.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3739, allocations: 0 / 1.163 GB, free: 9.32 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3739, allocations: 0 / 1.163 GB, free: 9.32 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.019e-05/0.3739, allocations: 0 / 1.163 GB, free: 9.32 MB / 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.003418/0.3773, allocations: 1.78 MB / 1.165 GB, free: 7.477 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.3774, allocations: 15.95 kB / 1.165 GB, free: 7.461 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.3776, allocations: 144.1 kB / 1.165 GB, free: 7.312 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007588/0.3784, allocations: 242.8 kB / 1.166 GB, free: 7.074 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/0.3806, allocations: 1.489 MB / 1.167 GB, free: 5.527 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/0.3807, allocations: 78 kB / 1.167 GB, free: 5.453 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.3808, allocations: 103.9 kB / 1.167 GB, free: 5.352 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.3827, allocations: 1.116 MB / 1.168 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.3828, allocations: 11.94 kB / 1.168 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.196e-05/0.3829, allocations: 43.94 kB / 1.168 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.418e-05/0.3829, allocations: 24 kB / 1.168 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.3848, allocations: 0.9368 MB / 1.169 GB, free: 3.184 MB / 0.92 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.005328/0.3902, allocations: 4.915 MB / 1.174 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.3916, allocations: 0.6427 MB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007412/0.3923, allocations: 370.3 kB / 1.175 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005969/0.393, allocations: 0.8238 MB / 1.176 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.393, allocations: 43.12 kB / 1.176 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.044e-06/0.393, allocations: 0 / 1.176 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007492/0.4005, allocations: 1.9 MB / 1.178 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.4005, allocations: 55.97 kB / 1.178 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.402, allocations: 1.21 MB / 1.179 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.16e-05/0.4021, allocations: 45.7 kB / 1.179 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005078/0.4026, allocations: 0.6065 MB / 1.18 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.4028, allocations: 208.9 kB / 1.18 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-05/0.4029, allocations: 69.67 kB / 1.18 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.403, allocations: 337.9 kB / 1.18 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006763/0.4037, allocations: 301.8 kB / 1.181 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008554/0.4046, allocations: 0.5046 MB / 1.181 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.406, allocations: 0.7442 MB / 1.182 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.406, allocations: 4 kB / 1.182 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004797/0.4108, allocations: 1.413 MB / 1.183 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.411, allocations: 202.3 kB / 1.183 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.411, allocations: 4 kB / 1.183 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005593/0.4115, allocations: 144.8 kB / 1.183 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/0.4121, allocations: 167.7 kB / 1.184 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008108/0.413, allocations: 0.7239 MB / 1.184 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.414, allocations: 163.1 kB / 1.184 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/0.4141, allocations: 35.98 kB / 1.185 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.4141, allocations: 4 kB / 1.185 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00469/0.4188, allocations: 1.253 MB / 1.186 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4188, allocations: 7.938 kB / 1.186 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004839/0.4193, allocations: 141.1 kB / 1.186 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.4199, allocations: 163.8 kB / 1.186 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007743/0.4207, allocations: 0.7239 MB / 1.187 GB, free: 496 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.4218, allocations: 155.2 kB / 1.187 GB, free: 340 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/0.4218, allocations: 31.98 kB / 1.187 GB, free: 308 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0005654/0.4224, allocations: 421 kB / 1.187 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.4226, allocations: 138.3 kB / 1.187 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004873/0.4275, allocations: 1.4 MB / 1.189 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.4275, allocations: 8 kB / 1.189 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4275, allocations: 4 kB / 1.189 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004414/0.4319, allocations: 1.24 MB / 1.19 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006639/0.4386, allocations: 2.746 MB / 1.193 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4386, allocations: 4 kB / 1.193 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/0.4391, allocations: 124.2 kB / 1.193 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004784/0.4396, allocations: 136.7 kB / 1.193 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/0.4396, allocations: 23.98 kB / 1.193 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00482/0.4445, allocations: 2.482 MB / 1.195 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.4445, allocations: 7.938 kB / 1.195 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005535/0.45, allocations: 1.859 MB / 1.197 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006462/0.4507, allocations: 331.1 kB / 1.198 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.4509, allocations: 15.98 kB / 1.198 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000895/0.4518, allocations: 99.91 kB / 1.198 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.4519, allocations: 56.25 kB / 1.198 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.452, allocations: 27.98 kB / 1.198 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001193/0.4532, allocations: 0.8779 MB / 1.199 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4532, allocations: 0 / 1.199 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001807/0.455, allocations: 0.7134 MB / 1.199 GB, free: 3.191 MB / 0.9512 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006604/0.4616, allocations: 2.744 MB / 1.202 GB, free: 384 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002698/0.4643, allocations: 1.161 MB / 1.203 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.4644, allocations: 4 kB / 1.203 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.4659, allocations: 0.5994 MB / 1.204 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004327/0.4703, allocations: 0.7922 MB / 1.204 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02474/0.495, allocations: 11.19 MB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009323/0.496, allocations: 1.183 MB / 1.217 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001626/0.4977, allocations: 310.9 kB / 1.217 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007886/0.4985, allocations: 0.5227 MB / 1.217 GB, free: 72 kB / 0.9669 GB Notification: Performance of SimCode: time 1.542e-06/0.4985, allocations: 3.938 kB / 1.217 GB, free: 68 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.249/2.748, allocations: 42.45 MB / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/2.748, allocations: 266.8 kB / 1.259 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.8/5.548, allocations: 4.031 kB / 1.259 GB, free: 181.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)