Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Examples.Carnot_y,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_11_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.001483/0.001483, allocations: 108 kB / 15.6 MB, free: 132 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.001476/0.001476, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.336/1.336, 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.1.0-maint.11.x/package.mo): time 2.539/2.539, allocations: 469.8 MB / 0.7424 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 68.62 kB / 0.9086 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2376, allocations: 159.1 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06939/0.307, allocations: 75.22 MB / 1.138 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01832/0.3254, allocations: 15.15 MB / 1.152 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.3267, allocations: 67.62 kB / 1.152 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.3284, allocations: 0.8307 MB / 1.153 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004839/0.3333, allocations: 2.587 MB / 1.156 GB, free: 92 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.3359, allocations: 1.391 MB / 1.157 GB, free: 14.71 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004115/0.3401, allocations: 4.393 MB / 1.161 GB, free: 10.3 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.3416, allocations: 1.449 MB / 1.163 GB, free: 8.816 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.3442, allocations: 1.629 MB / 1.164 GB, free: 7.188 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.3456, allocations: 1.206 MB / 1.166 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.3458, allocations: 164 kB / 1.166 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.3482, allocations: 1.4 MB / 1.167 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003545/0.3486, allocations: 398.6 kB / 1.167 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008492/0.3495, allocations: 0.9021 MB / 1.168 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003088/0.3525, allocations: 2.824 MB / 1.171 GB, free: 288 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3526, allocations: 4 kB / 1.171 GB, free: 284 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3526, allocations: 0 / 1.171 GB, free: 284 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.3526, allocations: 0 / 1.171 GB, free: 284 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.003237/0.3558, allocations: 2.087 MB / 1.173 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3559, allocations: 12.03 kB / 1.173 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001686/0.356, allocations: 148.1 kB / 1.173 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007342/0.3568, allocations: 226.9 kB / 1.173 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.3589, allocations: 1.45 MB / 1.175 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.359, allocations: 78 kB / 1.175 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.3591, allocations: 107.9 kB / 1.175 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.3609, allocations: 1.108 MB / 1.176 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.361, allocations: 0 / 1.176 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.646e-05/0.3611, allocations: 40 kB / 1.176 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.3611, allocations: 31.98 kB / 1.176 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.3629, allocations: 0.89 MB / 1.177 GB, free: 9.945 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.005424/0.3684, allocations: 4.946 MB / 1.182 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.3697, allocations: 0.6209 MB / 1.183 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006833/0.3704, allocations: 345.3 kB / 1.183 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/0.3711, allocations: 0.8316 MB / 1.184 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.3711, allocations: 47.11 kB / 1.184 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 1.583e-06/0.3711, allocations: 0 / 1.184 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.006803/0.3779, allocations: 1.682 MB / 1.185 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.378, allocations: 59.97 kB / 1.185 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.3795, allocations: 1.233 MB / 1.187 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.3795, allocations: 41.7 kB / 1.187 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005004/0.38, allocations: 0.5987 MB / 1.187 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.3802, allocations: 232.8 kB / 1.187 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.3804, allocations: 154.5 kB / 1.188 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3806, allocations: 337.9 kB / 1.188 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/0.3812, allocations: 284.7 kB / 1.188 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008162/0.3821, allocations: 0.4946 MB / 1.189 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.3834, allocations: 0.7129 MB / 1.189 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.3835, allocations: 4 kB / 1.189 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004427/0.3879, allocations: 1.269 MB / 1.191 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3879, allocations: 7.984 kB / 1.191 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3879, allocations: 8 kB / 1.191 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005168/0.3884, allocations: 137 kB / 1.191 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/0.389, allocations: 163.8 kB / 1.191 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008328/0.3899, allocations: 0.6967 MB / 1.192 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008281/0.3907, allocations: 123.1 kB / 1.192 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.984e-05/0.3908, allocations: 35.98 kB / 1.192 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009745/0.3918, allocations: 0.5526 MB / 1.192 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008061/0.3926, allocations: 488.8 kB / 1.193 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001361/0.3939, allocations: 0.705 MB / 1.193 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.3939, allocations: 0 / 1.193 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00443/0.3984, allocations: 1.269 MB / 1.195 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.3984, allocations: 4 kB / 1.195 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3984, allocations: 4 kB / 1.195 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004598/0.3989, allocations: 152.9 kB / 1.195 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.3994, allocations: 155.8 kB / 1.195 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007737/0.4002, allocations: 0.7007 MB / 1.196 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008335/0.4011, allocations: 103.5 kB / 1.196 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.4011, allocations: 35.92 kB / 1.196 GB, free: 5.859 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.0002009/0.4013, allocations: 224 kB / 1.196 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.4015, allocations: 142.3 kB / 1.196 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/0.406, allocations: 1.263 MB / 1.197 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.406, allocations: 11.94 kB / 1.197 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.406, allocations: 0 / 1.197 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003974/0.41, allocations: 1.099 MB / 1.199 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005937/0.4159, allocations: 2.622 MB / 1.201 GB, free: 336 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.4159, allocations: 0 / 1.201 GB, free: 336 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.4164, allocations: 115.8 kB / 1.201 GB, free: 220 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004163/0.4168, allocations: 125.1 kB / 1.201 GB, free: 92 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/0.4168, allocations: 27.98 kB / 1.201 GB, free: 64 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004863/0.4217, allocations: 2.63 MB / 1.204 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.4217, allocations: 12 kB / 1.204 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005032/0.4268, allocations: 1.699 MB / 1.206 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/0.4272, allocations: 311.1 kB / 1.206 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.4273, allocations: 12 kB / 1.206 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007029/0.428, allocations: 51.94 kB / 1.206 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.4282, allocations: 64.3 kB / 1.206 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/0.4282, allocations: 31.98 kB / 1.206 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001109/0.4293, allocations: 0.8818 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4294, allocations: 0 / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001578/0.4309, allocations: 0.7174 MB / 1.208 GB, free: 9.422 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005946/0.4369, allocations: 2.592 MB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.4395, allocations: 1.164 MB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4395, allocations: 0 / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.4409, allocations: 0.5645 MB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/0.444, allocations: 0.8007 MB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/0.4624, allocations: 10.47 MB / 1.223 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/0.4632, allocations: 1.187 MB / 1.224 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009934/0.4642, allocations: 306.9 kB / 1.224 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000653/0.4649, allocations: 0.5188 MB / 1.225 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.4649, allocations: 0 / 1.225 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.624/4.089, allocations: 42.3 MB / 1.266 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.5/22.59, allocations: 8.875 kB / 1.266 GB, free: 172.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)