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.001272/0.001272, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001247/0.001247, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.502/2.502, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.47 kB / 0.8985 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2906, allocations: 157.4 MB / 1.052 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06877/0.3594, allocations: 74.75 MB / 1.125 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02022/0.3796, allocations: 15.21 MB / 1.14 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/0.3823, allocations: 63.56 kB / 1.14 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.3844, allocations: 0.676 MB / 1.141 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006926/0.3913, allocations: 2.387 MB / 1.143 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003332/0.3947, allocations: 1.267 MB / 1.144 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006624/0.4013, allocations: 5.566 MB / 1.15 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.4031, allocations: 1.19 MB / 1.151 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/0.406, allocations: 1.365 MB / 1.152 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.4076, allocations: 1.202 MB / 1.153 GB, free: 244 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.4078, allocations: 72 kB / 1.154 GB, free: 172 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.4113, allocations: 1.251 MB / 1.155 GB, free: 14.91 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003918/0.4117, allocations: 318.6 kB / 1.155 GB, free: 14.6 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.4129, allocations: 0.8122 MB / 1.156 GB, free: 13.79 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004133/0.417, allocations: 2.773 MB / 1.159 GB, free: 11 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.417, allocations: 7.938 kB / 1.159 GB, free: 11 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.42e-07/0.417, allocations: 0 / 1.159 GB, free: 11 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.4171, allocations: 0 / 1.159 GB, free: 11 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.004367/0.4214, allocations: 2.079 MB / 1.161 GB, free: 8.848 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.4215, allocations: 15.97 kB / 1.161 GB, free: 8.832 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000191/0.4217, allocations: 152.1 kB / 1.161 GB, free: 8.676 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008168/0.4225, allocations: 230.8 kB / 1.161 GB, free: 8.449 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/0.425, allocations: 1.493 MB / 1.162 GB, free: 6.902 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.4251, allocations: 70 kB / 1.162 GB, free: 6.832 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.4252, allocations: 100 kB / 1.163 GB, free: 6.734 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.4272, allocations: 1.108 MB / 1.164 GB, free: 5.594 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.4272, allocations: 11.88 kB / 1.164 GB, free: 5.582 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-05/0.4273, allocations: 40 kB / 1.164 GB, free: 5.543 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.4274, allocations: 24 kB / 1.164 GB, free: 5.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.4292, allocations: 0.8939 MB / 1.165 GB, free: 4.621 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.006024/0.4352, allocations: 4.896 MB / 1.169 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.4367, allocations: 0.6236 MB / 1.17 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/0.4374, allocations: 346.3 kB / 1.17 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000676/0.438, allocations: 0.8315 MB / 1.171 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.4381, allocations: 39.12 kB / 1.171 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 4.128e-06/0.4381, allocations: 0 / 1.171 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.00696/0.4451, allocations: 1.689 MB / 1.173 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.4451, allocations: 63.97 kB / 1.173 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.447, allocations: 1.21 MB / 1.174 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.4471, allocations: 41.7 kB / 1.174 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005291/0.4476, allocations: 0.6026 MB / 1.175 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.4478, allocations: 220.9 kB / 1.175 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.4481, allocations: 154.5 kB / 1.175 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4482, allocations: 337.9 kB / 1.175 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/0.4489, allocations: 292.7 kB / 1.176 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008269/0.4497, allocations: 0.4929 MB / 1.176 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.4511, allocations: 0.7012 MB / 1.177 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4511, allocations: 4 kB / 1.177 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004499/0.4556, allocations: 1.273 MB / 1.178 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.4556, allocations: 11.92 kB / 1.178 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.4556, allocations: 4 kB / 1.178 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/0.4562, allocations: 137.1 kB / 1.178 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.4568, allocations: 159.8 kB / 1.178 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007972/0.4576, allocations: 0.7006 MB / 1.179 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.4588, allocations: 155.1 kB / 1.179 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.4589, allocations: 35.94 kB / 1.179 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001042/0.4599, allocations: 0.5565 MB / 1.18 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007679/0.4607, allocations: 0.4928 MB / 1.18 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001285/0.462, allocations: 0.7049 MB / 1.181 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.462, allocations: 0 / 1.181 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004466/0.4665, allocations: 1.265 MB / 1.182 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4665, allocations: 9.562 kB / 1.182 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4665, allocations: 8 kB / 1.182 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004804/0.467, allocations: 141 kB / 1.182 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/0.4676, allocations: 155.8 kB / 1.182 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007688/0.4684, allocations: 0.7006 MB / 1.183 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.4696, allocations: 139.5 kB / 1.183 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/0.4697, allocations: 31.98 kB / 1.183 GB, free: 0.5352 MB / 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.0002541/0.4699, allocations: 231.9 kB / 1.184 GB, free: 308 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/0.4702, allocations: 138.4 kB / 1.184 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004547/0.4748, allocations: 1.264 MB / 1.185 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.4748, allocations: 4 kB / 1.185 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4748, allocations: 3.984 kB / 1.185 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003867/0.4787, allocations: 1.103 MB / 1.186 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007198/0.4859, allocations: 2.606 MB / 1.189 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.4859, allocations: 4 kB / 1.189 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/0.4864, allocations: 115.8 kB / 1.189 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/0.4869, allocations: 129.1 kB / 1.189 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.367e-05/0.487, allocations: 19.98 kB / 1.189 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004499/0.4915, allocations: 2.384 MB / 1.191 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.4915, allocations: 4 kB / 1.191 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005252/0.4968, allocations: 1.703 MB / 1.193 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007687/0.4976, allocations: 311.1 kB / 1.193 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/0.4979, allocations: 12 kB / 1.193 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.4989, allocations: 87.91 kB / 1.193 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.499, allocations: 60.25 kB / 1.193 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.4991, allocations: 35.97 kB / 1.193 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001447/0.5006, allocations: 0.8662 MB / 1.194 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5006, allocations: 0 / 1.194 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002176/0.5028, allocations: 0.7135 MB / 1.195 GB, free: 4.34 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.006499/0.5093, allocations: 2.574 MB / 1.197 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002682/0.512, allocations: 1.114 MB / 1.198 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.512, allocations: 0 / 1.198 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.5135, allocations: 0.5565 MB / 1.199 GB, free: 16 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/0.5175, allocations: 0.7605 MB / 1.2 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02579/0.5433, allocations: 10.87 MB / 1.21 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.5443, allocations: 1.175 MB / 1.211 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001683/0.546, allocations: 311 kB / 1.212 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009295/0.547, allocations: 0.5149 MB / 1.212 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of SimCode: time 9.82e-07/0.547, allocations: 0 / 1.212 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6468/1.194, allocations: 40.43 MB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/1.194, allocations: 264.7 kB / 1.252 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.962/4.156, allocations: 4.125 kB / 1.252 GB, free: 181.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)