Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 174.4 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 0.578 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008511/0.0008511, allocations: 85.92 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003563, allocations: 10.53 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.242, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05578/0.2978, allocations: 73.46 MB / 0.9726 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0221/0.32, allocations: 14.9 MB / 0.9872 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00341/0.3235, allocations: 51.62 kB / 0.9872 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002934/0.3264, allocations: 0.672 MB / 0.9879 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009525/0.336, allocations: 2.37 MB / 0.9902 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004263/0.3403, allocations: 1.235 MB / 0.9914 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008245/0.3485, allocations: 5.523 MB / 0.9968 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/0.3509, allocations: 1.139 MB / 0.9979 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003626/0.3546, allocations: 1.349 MB / 0.9992 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/0.3572, allocations: 1.143 MB / 1 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003368/0.3575, allocations: 59.94 kB / 1 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00363/0.3612, allocations: 1.243 MB / 1.002 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004286/0.3616, allocations: 286.6 kB / 1.002 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.363, allocations: 0.7983 MB / 1.003 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004493/0.3675, allocations: 2.707 MB / 1.005 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3675, allocations: 0 / 1.005 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3675, allocations: 0 / 1.005 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.594e-05/0.3676, allocations: 0 / 1.005 GB, free: 4.125 MB / 0.6511 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.003999/0.3716, allocations: 1.783 MB / 1.007 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.3716, allocations: 8.031 kB / 1.007 GB, free: 2.27 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002634/0.3719, allocations: 148.1 kB / 1.007 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008586/0.3728, allocations: 242.8 kB / 1.007 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.3755, allocations: 1.489 MB / 1.009 GB, free: 340 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-05/0.3756, allocations: 78 kB / 1.009 GB, free: 264 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.3758, allocations: 100 kB / 1.009 GB, free: 164 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.3779, allocations: 1.112 MB / 1.01 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.3779, allocations: 3.938 kB / 1.01 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.441e-05/0.378, allocations: 40 kB / 1.01 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.3781, allocations: 24 kB / 1.01 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.38, allocations: 0.9407 MB / 1.011 GB, free: 14 MB / 0.6667 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.006281/0.3863, allocations: 4.903 MB / 1.016 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.3878, allocations: 0.6474 MB / 1.017 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007486/0.3885, allocations: 368.6 kB / 1.017 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000713/0.3893, allocations: 0.8316 MB / 1.018 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.3893, allocations: 39.12 kB / 1.018 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=61): time 3.487e-06/0.3893, allocations: 3.938 kB / 1.018 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of matching and sorting (n=61): time 0.007565/0.3969, allocations: 1.9 MB / 1.02 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.397, allocations: 55.97 kB / 1.02 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/0.3988, allocations: 1.214 MB / 1.021 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.399, allocations: 37.7 kB / 1.021 GB, free: 3.457 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005109/0.3995, allocations: 0.6104 MB / 1.021 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.3997, allocations: 205 kB / 1.022 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.3998, allocations: 16 kB / 1.022 GB, free: 2.621 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3999, allocations: 337.9 kB / 1.022 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.4006, allocations: 297.8 kB / 1.022 GB, free: 1.996 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008579/0.4015, allocations: 0.5251 MB / 1.023 GB, free: 1.391 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.4029, allocations: 0.7481 MB / 1.024 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4029, allocations: 0 / 1.024 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004859/0.4078, allocations: 1.414 MB / 1.025 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.408, allocations: 185.9 kB / 1.025 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.408, allocations: 8 kB / 1.025 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006324/0.4086, allocations: 156.6 kB / 1.025 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.4092, allocations: 167.7 kB / 1.025 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008503/0.4101, allocations: 0.7162 MB / 1.026 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.4115, allocations: 175 kB / 1.026 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.302e-05/0.4115, allocations: 31.98 kB / 1.026 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.4116, allocations: 4 kB / 1.026 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004379/0.4159, allocations: 1.257 MB / 1.028 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.416, allocations: 4 kB / 1.028 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005186/0.4165, allocations: 144.7 kB / 1.028 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.4171, allocations: 167.8 kB / 1.028 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008771/0.418, allocations: 0.7162 MB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.4195, allocations: 163.2 kB / 1.029 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-05/0.4196, allocations: 35.98 kB / 1.029 GB, free: 11.14 MB / 0.6823 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.0008873/0.4204, allocations: 416.8 kB / 1.029 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003279/0.4208, allocations: 142.2 kB / 1.029 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004838/0.4256, allocations: 1.4 MB / 1.031 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.4257, allocations: 4 kB / 1.031 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.4257, allocations: 7.984 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004236/0.4299, allocations: 1.228 MB / 1.032 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007075/0.437, allocations: 2.746 MB / 1.035 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.4371, allocations: 11.88 kB / 1.035 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.4376, allocations: 115.9 kB / 1.035 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004974/0.4381, allocations: 141.1 kB / 1.035 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.4382, allocations: 23.98 kB / 1.035 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004824/0.443, allocations: 2.478 MB / 1.037 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.443, allocations: 7.938 kB / 1.037 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005651/0.4487, allocations: 1.848 MB / 1.039 GB, free: 196 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.4499, allocations: 335.2 kB / 1.039 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.45, allocations: 16 kB / 1.039 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009709/0.451, allocations: 95.91 kB / 1.039 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.4512, allocations: 60.25 kB / 1.04 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.4513, allocations: 31.97 kB / 1.04 GB, free: 15.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00148/0.4528, allocations: 0.8621 MB / 1.04 GB, free: 14.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/0.4528, allocations: 0 / 1.04 GB, free: 14.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002224/0.455, allocations: 0.7134 MB / 1.041 GB, free: 14.06 MB / 0.698 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.006672/0.4617, allocations: 2.735 MB / 1.044 GB, free: 11.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002855/0.4646, allocations: 1.168 MB / 1.045 GB, free: 10.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4646, allocations: 0 / 1.045 GB, free: 10.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.4662, allocations: 0.6072 MB / 1.046 GB, free: 9.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004501/0.4707, allocations: 0.8001 MB / 1.046 GB, free: 8.695 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4324/0.9032, allocations: 11.18 MB / 1.057 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.9038, allocations: 1.174 MB / 1.058 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001432/0.9052, allocations: 299.8 kB / 1.059 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007262/0.906, allocations: 0.521 MB / 1.059 GB, free: 144.4 MB / 0.698 GB Notification: Performance of SimCode: time 7.52e-07/0.906, allocations: 0 / 1.059 GB, free: 144.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/1.018, allocations: 42.6 MB / 1.101 GB, free: 120.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/1.018, allocations: 269.8 kB / 1.101 GB, free: 120.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.62/4.638, allocations: 4 kB / 1.101 GB, free: 120.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)