Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.521/1.521, allocations: 287.4 MB / 302.6 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008367/0.0008364, allocations: 178.2 kB / 371.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008096/0.0008096, allocations: 106.4 kB / 0.7431 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003188, allocations: 10.75 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1516, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.05/0.2016, allocations: 69.48 MB / 1.047 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.2172, allocations: 14.07 MB / 1.06 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.2187, allocations: 55.62 kB / 1.06 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.2202, allocations: 0.5588 MB / 1.061 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0045/0.2247, allocations: 1.975 MB / 1.063 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.2271, allocations: 0.9771 MB / 1.064 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.3349/0.562, allocations: 4.812 MB / 1.069 GB, free: 33.45 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.5643, allocations: 1.131 MB / 1.07 GB, free: 33.33 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.5667, allocations: 1.278 MB / 1.071 GB, free: 33.33 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.5679, allocations: 1.076 MB / 1.072 GB, free: 33.33 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.5681, allocations: 56.47 kB / 1.072 GB, free: 33.33 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.5703, allocations: 0.9257 MB / 1.073 GB, free: 33.33 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003132/0.5706, allocations: 273.1 kB / 1.073 GB, free: 33.33 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003785/0.571, allocations: 355.3 kB / 1.073 GB, free: 33.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.5736, allocations: 2.082 MB / 1.075 GB, free: 33.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5736, allocations: 0 / 1.075 GB, free: 33.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5737, allocations: 0 / 1.075 GB, free: 33.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.36e-05/0.5737, allocations: 0 / 1.075 GB, free: 33.23 MB / 0.6823 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.003161/0.5769, allocations: 1.781 MB / 1.077 GB, free: 32.24 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.5769, allocations: 9.688 kB / 1.077 GB, free: 32.24 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002022/0.5771, allocations: 145.9 kB / 1.077 GB, free: 32.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000726/0.5778, allocations: 243.7 kB / 1.078 GB, free: 32.11 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.5802, allocations: 1.476 MB / 1.079 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/0.5802, allocations: 81.03 kB / 1.079 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.5804, allocations: 104.5 kB / 1.079 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.5826, allocations: 1.116 MB / 1.08 GB, free: 31.56 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.5826, allocations: 5.016 kB / 1.08 GB, free: 31.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.979e-05/0.5827, allocations: 39.22 kB / 1.08 GB, free: 31.55 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.5827, allocations: 29.94 kB / 1.08 GB, free: 31.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.5846, allocations: 0.9246 MB / 1.081 GB, free: 31.54 MB / 0.6823 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.004911/0.5895, allocations: 4.912 MB / 1.086 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.5908, allocations: 0.6341 MB / 1.087 GB, free: 29.31 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006223/0.5915, allocations: 371.5 kB / 1.087 GB, free: 29.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/0.5919, allocations: 0.8291 MB / 1.088 GB, free: 28.35 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.5919, allocations: 39.67 kB / 1.088 GB, free: 28.31 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 2.925e-06/0.5919, allocations: 0 / 1.088 GB, free: 28.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.006715/0.5986, allocations: 1.898 MB / 1.09 GB, free: 28.03 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.5987, allocations: 63.25 kB / 1.09 GB, free: 27.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.6003, allocations: 1.188 MB / 1.091 GB, free: 27.81 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.312e-05/0.6004, allocations: 41.52 kB / 1.091 GB, free: 27.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.6007, allocations: 0.6047 MB / 1.092 GB, free: 27.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.6009, allocations: 214.9 kB / 1.092 GB, free: 27.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.6009, allocations: 13.94 kB / 1.092 GB, free: 27.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.601, allocations: 333.9 kB / 1.092 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000601/0.6016, allocations: 297.3 kB / 1.092 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007196/0.6023, allocations: 0.512 MB / 1.093 GB, free: 26.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.6036, allocations: 0.7403 MB / 1.094 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.6036, allocations: 4.906 kB / 1.094 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004313/0.6079, allocations: 1.388 MB / 1.095 GB, free: 26.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.139e-05/0.608, allocations: 197.7 kB / 1.095 GB, free: 26.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.608, allocations: 7.844 kB / 1.095 GB, free: 26.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005339/0.6085, allocations: 152.1 kB / 1.095 GB, free: 26.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/0.6091, allocations: 163.2 kB / 1.096 GB, free: 26.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006712/0.6098, allocations: 0.718 MB / 1.096 GB, free: 25.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.6111, allocations: 171 kB / 1.096 GB, free: 25.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/0.6111, allocations: 34.28 kB / 1.096 GB, free: 25.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/0.6111, allocations: 6.656 kB / 1.096 GB, free: 25.79 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004152/0.6153, allocations: 1.246 MB / 1.098 GB, free: 25.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6153, allocations: 4.609 kB / 1.098 GB, free: 25.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004409/0.6158, allocations: 149.4 kB / 1.098 GB, free: 25.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/0.6163, allocations: 165.4 kB / 1.098 GB, free: 25.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005913/0.6169, allocations: 0.7215 MB / 1.099 GB, free: 25.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.6179, allocations: 162.8 kB / 1.099 GB, free: 25.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/0.618, allocations: 35.36 kB / 1.099 GB, free: 25.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005855/0.6186, allocations: 419.3 kB / 1.099 GB, free: 24.95 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.6188, allocations: 140 kB / 1.099 GB, free: 24.88 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/0.6229, allocations: 1.399 MB / 1.101 GB, free: 24.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.6229, allocations: 8.5 kB / 1.101 GB, free: 24.74 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6229, allocations: 0 / 1.101 GB, free: 24.74 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003718/0.6267, allocations: 1.232 MB / 1.102 GB, free: 24.53 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005844/0.6325, allocations: 2.73 MB / 1.105 GB, free: 24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.6325, allocations: 4.125 kB / 1.105 GB, free: 24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004268/0.633, allocations: 128.1 kB / 1.105 GB, free: 24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004247/0.6334, allocations: 134.8 kB / 1.105 GB, free: 23.99 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.6334, allocations: 20.7 kB / 1.105 GB, free: 23.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003813/0.6373, allocations: 2.497 MB / 1.107 GB, free: 22.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.6373, allocations: 7.406 kB / 1.107 GB, free: 22.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004698/0.642, allocations: 1.849 MB / 1.109 GB, free: 22.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000605/0.6426, allocations: 331.5 kB / 1.109 GB, free: 21.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/0.6429, allocations: 20.66 kB / 1.109 GB, free: 21.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009965/0.6439, allocations: 92.8 kB / 1.11 GB, free: 21.93 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.6441, allocations: 57.06 kB / 1.11 GB, free: 21.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/0.6441, allocations: 36.48 kB / 1.11 GB, free: 21.92 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001281/0.6454, allocations: 0.8543 MB / 1.11 GB, free: 21.81 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6454, allocations: 0 / 1.11 GB, free: 21.81 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002232/0.6477, allocations: 0.7087 MB / 1.111 GB, free: 21.72 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.005701/0.6534, allocations: 2.693 MB / 1.114 GB, free: 20.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002492/0.6559, allocations: 1.171 MB / 1.115 GB, free: 20.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.6559, allocations: 1.25 kB / 1.115 GB, free: 20.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.6573, allocations: 0.5963 MB / 1.116 GB, free: 20.56 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004322/0.6616, allocations: 0.7971 MB / 1.116 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01973/0.6813, allocations: 8.329 MB / 1.124 GB, free: 17.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/0.6821, allocations: 1.182 MB / 1.126 GB, free: 16.87 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001414/0.6835, allocations: 307.8 kB / 1.126 GB, free: 16.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006704/0.6842, allocations: 0.5132 MB / 1.126 GB, free: 16.78 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/0.6842, allocations: 3.938 kB / 1.126 GB, free: 16.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5703/1.255, allocations: 44.75 MB / 1.17 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/1.255, allocations: 249.3 kB / 1.17 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.275/4.53, allocations: 64 / 1.17 GB, free: 12.49 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)