Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.612/2.612, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.00135/0.00135, allocations: 182.6 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.001586/0.001586, allocations: 94.03 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000505/0.0005052, allocations: 13.14 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.245, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.1158/0.3608, allocations: 69.44 MB / 1.046 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03078/0.3917, allocations: 14.08 MB / 1.06 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00307/0.3948, allocations: 55.62 kB / 1.06 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003295/0.3982, allocations: 0.5666 MB / 1.061 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.009564/0.4078, allocations: 1.963 MB / 1.063 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005349/0.4132, allocations: 0.9819 MB / 1.063 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009891/0.4231, allocations: 4.779 MB / 1.068 GB, free: 208 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7831/1.206, allocations: 1.009 MB / 1.069 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005906/1.212, allocations: 1.278 MB / 1.07 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004441/1.217, allocations: 1.084 MB / 1.071 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008735/1.218, allocations: 55.59 kB / 1.071 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006387/1.224, allocations: 0.9264 MB / 1.072 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001257/1.225, allocations: 273.1 kB / 1.073 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001597/1.227, allocations: 357.7 kB / 1.073 GB, free: 33.35 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007586/1.235, allocations: 2.08 MB / 1.075 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/1.235, allocations: 0.8125 kB / 1.075 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.419e-06/1.235, allocations: 0.5625 kB / 1.075 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.784e-05/1.235, allocations: 0 / 1.075 GB, free: 33.29 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.008968/1.244, allocations: 1.8 MB / 1.077 GB, free: 32.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.166e-05/1.244, allocations: 9.906 kB / 1.077 GB, free: 32.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008723/1.245, allocations: 148.6 kB / 1.077 GB, free: 32.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/1.247, allocations: 243.4 kB / 1.077 GB, free: 32.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007113/1.254, allocations: 1.437 MB / 1.079 GB, free: 31.81 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/1.255, allocations: 75.88 kB / 1.079 GB, free: 31.81 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005653/1.255, allocations: 103.8 kB / 1.079 GB, free: 31.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005685/1.261, allocations: 1.116 MB / 1.08 GB, free: 31.67 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.745e-05/1.261, allocations: 4.344 kB / 1.08 GB, free: 31.67 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/1.261, allocations: 40.19 kB / 1.08 GB, free: 31.67 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.44e-05/1.261, allocations: 25.34 kB / 1.08 GB, free: 31.67 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00574/1.267, allocations: 0.9236 MB / 1.081 GB, free: 31.66 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.0154/1.283, allocations: 4.916 MB / 1.086 GB, free: 29.47 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003548/1.286, allocations: 0.6369 MB / 1.086 GB, free: 29.44 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/1.288, allocations: 365.6 kB / 1.087 GB, free: 29.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000936/1.289, allocations: 0.8326 MB / 1.087 GB, free: 28.49 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/1.289, allocations: 44.55 kB / 1.087 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 5.02e-06/1.289, allocations: 0 / 1.087 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.01773/1.307, allocations: 1.892 MB / 1.089 GB, free: 28.17 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/1.307, allocations: 66.11 kB / 1.089 GB, free: 28.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/1.311, allocations: 1.194 MB / 1.091 GB, free: 27.94 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003219/1.312, allocations: 39.48 kB / 1.091 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/1.313, allocations: 0.6066 MB / 1.091 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005542/1.313, allocations: 217 kB / 1.091 GB, free: 27.56 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-05/1.313, allocations: 13.09 kB / 1.091 GB, free: 27.56 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.314, allocations: 337.1 kB / 1.092 GB, free: 27.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/1.315, allocations: 293.7 kB / 1.092 GB, free: 27.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/1.317, allocations: 0.5047 MB / 1.092 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/1.319, allocations: 362.7 kB / 1.093 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/1.319, allocations: 1.094 kB / 1.093 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.01198/1.331, allocations: 1.388 MB / 1.094 GB, free: 26.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001776/1.332, allocations: 196.9 kB / 1.094 GB, free: 26.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/1.332, allocations: 8.516 kB / 1.094 GB, free: 26.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/1.333, allocations: 157.2 kB / 1.095 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/1.335, allocations: 163.2 kB / 1.095 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/1.336, allocations: 0.7177 MB / 1.095 GB, free: 26.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/1.34, allocations: 172.2 kB / 1.096 GB, free: 26.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/1.34, allocations: 29.45 kB / 1.096 GB, free: 26.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.34, allocations: 4.281 kB / 1.096 GB, free: 26.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01115/1.351, allocations: 1.248 MB / 1.097 GB, free: 26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/1.351, allocations: 8.125 kB / 1.097 GB, free: 26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/1.353, allocations: 146.1 kB / 1.097 GB, free: 25.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/1.354, allocations: 167.3 kB / 1.097 GB, free: 25.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/1.356, allocations: 0.7171 MB / 1.098 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003315/1.36, allocations: 161.8 kB / 1.098 GB, free: 25.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/1.36, allocations: 37.23 kB / 1.098 GB, free: 25.41 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.00154/1.361, allocations: 415.7 kB / 1.098 GB, free: 25.22 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006868/1.362, allocations: 139.4 kB / 1.099 GB, free: 25.15 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/1.373, allocations: 1.401 MB / 1.1 GB, free: 25.01 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.681e-05/1.373, allocations: 8.078 kB / 1.1 GB, free: 25.01 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/1.373, allocations: 2.969 kB / 1.1 GB, free: 25.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009976/1.383, allocations: 1.23 MB / 1.101 GB, free: 24.79 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/1.399, allocations: 2.736 MB / 1.104 GB, free: 24.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/1.399, allocations: 7.812 kB / 1.104 GB, free: 24.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.401, allocations: 121.8 kB / 1.104 GB, free: 24.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/1.402, allocations: 136.7 kB / 1.104 GB, free: 24.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/1.402, allocations: 30.38 kB / 1.104 GB, free: 24.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00991/1.412, allocations: 2.483 MB / 1.106 GB, free: 22.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/1.412, allocations: 6.312 kB / 1.106 GB, free: 22.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/1.424, allocations: 1.848 MB / 1.108 GB, free: 22.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/1.426, allocations: 336.4 kB / 1.109 GB, free: 22.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005672/1.427, allocations: 18.47 kB / 1.109 GB, free: 22.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/1.429, allocations: 91.17 kB / 1.109 GB, free: 22.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/1.429, allocations: 61.33 kB / 1.109 GB, free: 22.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/1.43, allocations: 30.47 kB / 1.109 GB, free: 22.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002837/1.433, allocations: 0.8563 MB / 1.11 GB, free: 22.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.61e-07/1.433, allocations: 0 / 1.11 GB, free: 22.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005098/1.438, allocations: 0.7045 MB / 1.11 GB, free: 22 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.01411/1.452, allocations: 2.706 MB / 1.113 GB, free: 21.01 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005939/1.458, allocations: 1.159 MB / 1.114 GB, free: 20.97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/1.458, allocations: 3.484 kB / 1.114 GB, free: 20.97 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003488/1.461, allocations: 0.6005 MB / 1.115 GB, free: 20.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007978/1.469, allocations: 0.7665 MB / 1.115 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03438/1.504, allocations: 8.342 MB / 1.124 GB, free: 17.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009278/1.505, allocations: 1.179 MB / 1.125 GB, free: 17.15 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002424/1.507, allocations: 317.5 kB / 1.125 GB, free: 17.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/1.509, allocations: 0.5082 MB / 1.126 GB, free: 17.05 MB / 0.6823 GB Notification: Performance of SimCode: time 1.373e-06/1.509, allocations: 2.719 kB / 1.126 GB, free: 17.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/1.625, allocations: 42.29 MB / 1.167 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004104/1.626, allocations: 241.8 kB / 1.167 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.237/5.863, allocations: 0 / 1.167 GB, free: 15.64 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)