Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",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.439/1.439, allocations: 287.4 MB / 302.6 MB, free: 8.262 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.0009087/0.0009088, allocations: 178.4 kB / 371.1 MB, free: 10.84 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.144/1.144, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0006939/0.0006939, allocations: 100.2 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003652, allocations: 11.72 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.04945/0.1927, allocations: 69.48 MB / 1.047 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01509/0.2078, allocations: 14.08 MB / 1.06 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.209, allocations: 55.62 kB / 1.06 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.2103, allocations: 0.5666 MB / 1.061 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.2142, allocations: 1.961 MB / 1.063 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.2165, allocations: 0.9853 MB / 1.064 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.2966/0.5131, allocations: 4.808 MB / 1.069 GB, free: 33.49 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.5152, allocations: 1.13 MB / 1.07 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.5175, allocations: 1.285 MB / 1.071 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.5189, allocations: 1.084 MB / 1.072 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.519, allocations: 56 kB / 1.072 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.5211, allocations: 0.9392 MB / 1.073 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.5214, allocations: 275.4 kB / 1.073 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.5218, allocations: 361.5 kB / 1.074 GB, free: 33.34 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.5241, allocations: 2.088 MB / 1.076 GB, free: 33.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5241, allocations: 4.609 kB / 1.076 GB, free: 33.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5241, allocations: 0 / 1.076 GB, free: 33.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.243e-05/0.5242, allocations: 0 / 1.076 GB, free: 33.27 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.00287/0.527, allocations: 1.791 MB / 1.077 GB, free: 32.28 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.5271, allocations: 9.688 kB / 1.077 GB, free: 32.28 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.5273, allocations: 147.9 kB / 1.077 GB, free: 32.24 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006768/0.5279, allocations: 243.4 kB / 1.078 GB, free: 32.15 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.5301, allocations: 1.488 MB / 1.079 GB, free: 31.74 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/0.5301, allocations: 80.59 kB / 1.079 GB, free: 31.74 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.5303, allocations: 106.3 kB / 1.079 GB, free: 31.74 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.5322, allocations: 1.117 MB / 1.08 GB, free: 31.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.5323, allocations: 7.922 kB / 1.08 GB, free: 31.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-05/0.5323, allocations: 37.52 kB / 1.08 GB, free: 31.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.549e-05/0.5324, allocations: 26.52 kB / 1.08 GB, free: 31.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.5342, allocations: 0.9257 MB / 1.081 GB, free: 31.58 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.004663/0.5389, allocations: 4.917 MB / 1.086 GB, free: 29.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.5402, allocations: 0.6436 MB / 1.087 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/0.5408, allocations: 367.2 kB / 1.087 GB, free: 29.33 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003797/0.5412, allocations: 0.8349 MB / 1.088 GB, free: 28.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.5412, allocations: 49.02 kB / 1.088 GB, free: 28.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 2.305e-06/0.5413, allocations: 0 / 1.088 GB, free: 28.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.004199/0.5455, allocations: 1.522 MB / 1.09 GB, free: 28.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.5455, allocations: 60.31 kB / 1.09 GB, free: 28.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.5468, allocations: 1.2 MB / 1.091 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.5469, allocations: 39.36 kB / 1.091 GB, free: 27.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.5472, allocations: 0.5981 MB / 1.091 GB, free: 27.63 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.5474, allocations: 223 kB / 1.092 GB, free: 27.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.5474, allocations: 14.84 kB / 1.092 GB, free: 27.49 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.5475, allocations: 330.9 kB / 1.092 GB, free: 27.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005729/0.548, allocations: 296.7 kB / 1.092 GB, free: 27.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/0.5487, allocations: 0.505 MB / 1.093 GB, free: 26.97 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.5499, allocations: 0.7365 MB / 1.093 GB, free: 26.83 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.55, allocations: 5.094 kB / 1.093 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004178/0.5541, allocations: 1.393 MB / 1.095 GB, free: 26.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/0.5542, allocations: 185.8 kB / 1.095 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5542, allocations: 7.906 kB / 1.095 GB, free: 26.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000633/0.5549, allocations: 160.5 kB / 1.095 GB, free: 26.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.5554, allocations: 163.8 kB / 1.095 GB, free: 26.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006766/0.5561, allocations: 0.729 MB / 1.096 GB, free: 25.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.5573, allocations: 167.2 kB / 1.096 GB, free: 25.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.466e-05/0.5573, allocations: 34.25 kB / 1.096 GB, free: 25.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/0.5574, allocations: 3.438 kB / 1.096 GB, free: 25.88 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003963/0.5613, allocations: 1.243 MB / 1.097 GB, free: 25.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5613, allocations: 4.531 kB / 1.097 GB, free: 25.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005082/0.5619, allocations: 165.7 kB / 1.098 GB, free: 25.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.5624, allocations: 168.7 kB / 1.098 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006193/0.563, allocations: 0.7231 MB / 1.098 GB, free: 25.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009531/0.564, allocations: 171 kB / 1.099 GB, free: 25.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.5641, allocations: 32.75 kB / 1.099 GB, free: 25.23 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005366/0.5646, allocations: 424.6 kB / 1.099 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.5648, allocations: 135.2 kB / 1.099 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/0.5689, allocations: 1.382 MB / 1.1 GB, free: 24.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.5689, allocations: 10.69 kB / 1.1 GB, free: 24.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5689, allocations: 0.6562 kB / 1.1 GB, free: 24.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003699/0.5726, allocations: 1.214 MB / 1.102 GB, free: 24.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003432/0.5761, allocations: 2.347 MB / 1.104 GB, free: 24.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.5761, allocations: 5.656 kB / 1.104 GB, free: 24.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004241/0.5765, allocations: 118.2 kB / 1.104 GB, free: 24.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004965/0.577, allocations: 155.3 kB / 1.104 GB, free: 24.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.5771, allocations: 23.2 kB / 1.104 GB, free: 24.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000587/0.5777, allocations: 0.7179 MB / 1.105 GB, free: 23.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5777, allocations: 6.531 kB / 1.105 GB, free: 23.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.5799, allocations: 1.465 MB / 1.106 GB, free: 23.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004585/0.5804, allocations: 333.6 kB / 1.107 GB, free: 23.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.5806, allocations: 25.3 kB / 1.107 GB, free: 23.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007976/0.5814, allocations: 84.33 kB / 1.107 GB, free: 23.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.86e-05/0.5815, allocations: 59.55 kB / 1.107 GB, free: 23.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/0.5815, allocations: 33.84 kB / 1.107 GB, free: 23.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009649/0.5825, allocations: 0.852 MB / 1.108 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5825, allocations: 0 / 1.108 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001622/0.5841, allocations: 0.708 MB / 1.108 GB, free: 22.81 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003022/0.5872, allocations: 2.33 MB / 1.111 GB, free: 21.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002246/0.5894, allocations: 1.164 MB / 1.112 GB, free: 21.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5894, allocations: 1 kB / 1.112 GB, free: 21.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007886/0.5902, allocations: 411.4 kB / 1.112 GB, free: 21.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003625/0.5939, allocations: 0.7982 MB / 1.113 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/0.6106, allocations: 8.345 MB / 1.121 GB, free: 18.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.6112, allocations: 1.185 MB / 1.122 GB, free: 18.11 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001293/0.6125, allocations: 309.5 kB / 1.123 GB, free: 18.03 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005836/0.6131, allocations: 0.517 MB / 1.123 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of SimCode: time 5.41e-07/0.6131, allocations: 0 / 1.123 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7913/1.404, allocations: 44.65 MB / 1.167 GB, free: 312 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/1.405, allocations: 247.5 kB / 1.167 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.858/4.263, allocations: 0 / 1.167 GB, free: 15.97 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)