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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00126/0.001261, allocations: 108 kB / 15.6 MB, free: 128 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.001261/0.001261, allocations: 198 kB / 16.53 MB, free: 6.672 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.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.448/2.448, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.94 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2363, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06323/0.2995, allocations: 75.21 MB / 1.126 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01702/0.3166, allocations: 15.16 MB / 1.141 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.3181, allocations: 67.62 kB / 1.141 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.3197, allocations: 0.8383 MB / 1.142 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004582/0.3244, allocations: 2.585 MB / 1.145 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.3269, allocations: 1.379 MB / 1.146 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00368/0.3306, allocations: 4.389 MB / 1.15 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.332, allocations: 1.437 MB / 1.152 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.3344, allocations: 1.644 MB / 1.153 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.3356, allocations: 1.206 MB / 1.154 GB, free: 56 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.3358, allocations: 168 kB / 1.155 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.338, allocations: 1.396 MB / 1.156 GB, free: 14.49 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.3383, allocations: 398.6 kB / 1.156 GB, free: 14.1 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007182/0.339, allocations: 0.906 MB / 1.157 GB, free: 13.19 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002593/0.3416, allocations: 2.824 MB / 1.16 GB, free: 10.36 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3416, allocations: 0 / 1.16 GB, free: 10.36 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3416, allocations: 4 kB / 1.16 GB, free: 10.36 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.3417, allocations: 0 / 1.16 GB, free: 10.36 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.002991/0.3447, allocations: 2.083 MB / 1.162 GB, free: 8.207 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3447, allocations: 8.625 kB / 1.162 GB, free: 8.199 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.3449, allocations: 152.1 kB / 1.162 GB, free: 8.043 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007043/0.3456, allocations: 230.8 kB / 1.162 GB, free: 7.816 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.3475, allocations: 1.446 MB / 1.164 GB, free: 6.312 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/0.3476, allocations: 78 kB / 1.164 GB, free: 6.238 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.3477, allocations: 100 kB / 1.164 GB, free: 6.141 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.3495, allocations: 1.1 MB / 1.165 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.3495, allocations: 11.84 kB / 1.165 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.114e-05/0.3496, allocations: 44 kB / 1.165 GB, free: 4.949 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.3496, allocations: 24 kB / 1.165 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.3514, allocations: 0.8939 MB / 1.166 GB, free: 4.035 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.004974/0.3564, allocations: 4.938 MB / 1.171 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.3577, allocations: 0.6165 MB / 1.171 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006673/0.3584, allocations: 350.3 kB / 1.172 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005676/0.359, allocations: 0.8277 MB / 1.172 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.359, allocations: 39.12 kB / 1.173 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 1.743e-06/0.359, allocations: 4 kB / 1.173 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007103/0.3661, allocations: 1.693 MB / 1.174 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.3662, allocations: 59.97 kB / 1.174 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.3675, allocations: 1.23 MB / 1.175 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.3676, allocations: 41.69 kB / 1.175 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000443/0.368, allocations: 0.6065 MB / 1.176 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.3682, allocations: 212.9 kB / 1.176 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.3684, allocations: 162.5 kB / 1.176 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.3685, allocations: 337.9 kB / 1.177 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006277/0.3691, allocations: 288.7 kB / 1.177 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007849/0.3699, allocations: 0.4905 MB / 1.178 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.3713, allocations: 0.7129 MB / 1.178 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3713, allocations: 0 / 1.178 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00443/0.3757, allocations: 1.269 MB / 1.179 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3757, allocations: 9.562 kB / 1.179 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3758, allocations: 4 kB / 1.179 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005127/0.3763, allocations: 136.9 kB / 1.18 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.3768, allocations: 151.8 kB / 1.18 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007728/0.3776, allocations: 0.7162 MB / 1.18 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008268/0.3785, allocations: 124.3 kB / 1.181 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/0.3785, allocations: 35.98 kB / 1.181 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009191/0.3795, allocations: 0.5448 MB / 1.181 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007624/0.3802, allocations: 0.4967 MB / 1.182 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001283/0.3815, allocations: 0.7011 MB / 1.182 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/0.3815, allocations: 0 / 1.182 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004421/0.386, allocations: 1.273 MB / 1.184 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.386, allocations: 8 kB / 1.184 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.386, allocations: 4 kB / 1.184 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004423/0.3864, allocations: 140.8 kB / 1.184 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/0.387, allocations: 155.8 kB / 1.184 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007338/0.3877, allocations: 0.6967 MB / 1.185 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/0.3886, allocations: 111.5 kB / 1.185 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/0.3887, allocations: 31.98 kB / 1.185 GB, free: 15.95 MB / 0.9512 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.0001832/0.3889, allocations: 235.9 kB / 1.185 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.3891, allocations: 138.3 kB / 1.185 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004441/0.3935, allocations: 1.26 MB / 1.186 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.3935, allocations: 7.984 kB / 1.186 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3935, allocations: 4 kB / 1.186 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004031/0.3976, allocations: 1.103 MB / 1.187 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006014/0.4036, allocations: 2.629 MB / 1.19 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4036, allocations: 4 kB / 1.19 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.4041, allocations: 107.9 kB / 1.19 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000425/0.4045, allocations: 133 kB / 1.19 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.4045, allocations: 23.92 kB / 1.19 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004772/0.4093, allocations: 2.63 MB / 1.193 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4093, allocations: 4 kB / 1.193 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004964/0.4143, allocations: 1.699 MB / 1.194 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.4147, allocations: 311.2 kB / 1.195 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.4149, allocations: 16 kB / 1.195 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/0.4157, allocations: 47.94 kB / 1.195 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.4158, allocations: 68.3 kB / 1.195 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.4158, allocations: 31.98 kB / 1.195 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001111/0.417, allocations: 0.8818 MB / 1.196 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.417, allocations: 0 / 1.196 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00164/0.4186, allocations: 0.7213 MB / 1.196 GB, free: 3.492 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.005999/0.4246, allocations: 2.591 MB / 1.199 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002607/0.4272, allocations: 1.153 MB / 1.2 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4273, allocations: 0 / 1.2 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.4286, allocations: 0.5759 MB / 1.201 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/0.4318, allocations: 0.7971 MB / 1.201 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01947/0.4513, allocations: 10.47 MB / 1.212 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008192/0.4521, allocations: 1.179 MB / 1.213 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001314/0.4535, allocations: 303 kB / 1.213 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007284/0.4542, allocations: 0.5188 MB / 1.214 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.4542, allocations: 0 / 1.214 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.957/3.411, allocations: 42.31 MB / 1.255 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.62/19.03, allocations: 0 / 1.255 GB, free: 186.4 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)