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 1.537/1.537, allocations: 287.4 MB / 302.6 MB, free: 8.141 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.001164/0.001164, allocations: 176.5 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.524/1.524, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0008912/0.0008912, allocations: 94.81 kB / 0.7431 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003856, allocations: 11.25 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1932, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06219/0.2555, allocations: 69.44 MB / 1.047 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0189/0.2744, allocations: 14.08 MB / 1.06 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.2772, allocations: 55.62 kB / 1.06 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.2793, allocations: 0.5627 MB / 1.061 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006308/0.2856, allocations: 1.971 MB / 1.063 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00311/0.2887, allocations: 0.9757 MB / 1.064 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.4889/0.7776, allocations: 4.812 MB / 1.068 GB, free: 33.34 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002881/0.7806, allocations: 1.132 MB / 1.07 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003294/0.7839, allocations: 1.275 MB / 1.071 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.7858, allocations: 1.086 MB / 1.072 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001997/0.7861, allocations: 56.62 kB / 1.072 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.7891, allocations: 0.9264 MB / 1.073 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.7895, allocations: 273.9 kB / 1.073 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005971/0.7901, allocations: 357.3 kB / 1.073 GB, free: 33.19 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.7935, allocations: 2.079 MB / 1.075 GB, free: 33.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7935, allocations: 0 / 1.075 GB, free: 33.12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7935, allocations: 1.578 kB / 1.075 GB, free: 33.12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.327e-05/0.7936, allocations: 0 / 1.075 GB, free: 33.12 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.003808/0.7974, allocations: 1.788 MB / 1.077 GB, free: 32.13 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.7975, allocations: 10.16 kB / 1.077 GB, free: 32.13 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002217/0.7977, allocations: 148.5 kB / 1.077 GB, free: 32.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008049/0.7985, allocations: 245.3 kB / 1.078 GB, free: 32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/0.8012, allocations: 1.482 MB / 1.079 GB, free: 31.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/0.8013, allocations: 82.27 kB / 1.079 GB, free: 31.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.8015, allocations: 100.2 kB / 1.079 GB, free: 31.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.8039, allocations: 1.121 MB / 1.08 GB, free: 31.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.804, allocations: 4.281 kB / 1.08 GB, free: 31.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.501e-05/0.8041, allocations: 43.53 kB / 1.08 GB, free: 31.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/0.8041, allocations: 25.77 kB / 1.08 GB, free: 31.45 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.8063, allocations: 0.9225 MB / 1.081 GB, free: 31.43 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.006382/0.8127, allocations: 4.91 MB / 1.086 GB, free: 29.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.8143, allocations: 0.6397 MB / 1.087 GB, free: 29.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007035/0.815, allocations: 368.2 kB / 1.087 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004837/0.8155, allocations: 0.8324 MB / 1.088 GB, free: 28.24 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.8155, allocations: 41.2 kB / 1.088 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.035e-06/0.8155, allocations: 2.734 kB / 1.088 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.007402/0.823, allocations: 1.893 MB / 1.09 GB, free: 27.93 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.823, allocations: 62.94 kB / 1.09 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.8254, allocations: 1.195 MB / 1.091 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.8256, allocations: 40.2 kB / 1.091 GB, free: 27.67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006002/0.8262, allocations: 0.6033 MB / 1.092 GB, free: 27.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.8265, allocations: 215.1 kB / 1.092 GB, free: 27.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.8266, allocations: 14.44 kB / 1.092 GB, free: 27.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8267, allocations: 332.4 kB / 1.092 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007643/0.8274, allocations: 295.6 kB / 1.092 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009646/0.8284, allocations: 0.5041 MB / 1.093 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.8301, allocations: 0.7428 MB / 1.094 GB, free: 26.64 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.8301, allocations: 6 kB / 1.094 GB, free: 26.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00522/0.8354, allocations: 1.387 MB / 1.095 GB, free: 26.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.8355, allocations: 201.6 kB / 1.095 GB, free: 26.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.8356, allocations: 8.094 kB / 1.095 GB, free: 26.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006648/0.8362, allocations: 153.5 kB / 1.095 GB, free: 26.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.8369, allocations: 165.9 kB / 1.096 GB, free: 26.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000822/0.8377, allocations: 0.7214 MB / 1.096 GB, free: 25.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.8394, allocations: 168.6 kB / 1.096 GB, free: 25.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.941e-05/0.8395, allocations: 32.27 kB / 1.096 GB, free: 25.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.8395, allocations: 3.719 kB / 1.096 GB, free: 25.68 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004507/0.844, allocations: 1.253 MB / 1.098 GB, free: 25.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.844, allocations: 7.375 kB / 1.098 GB, free: 25.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004985/0.8445, allocations: 149.1 kB / 1.098 GB, free: 25.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.8451, allocations: 164.3 kB / 1.098 GB, free: 25.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006751/0.8458, allocations: 0.7158 MB / 1.099 GB, free: 25.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.8472, allocations: 166.5 kB / 1.099 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.8473, allocations: 33.27 kB / 1.099 GB, free: 25.04 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.0007546/0.848, allocations: 417.6 kB / 1.099 GB, free: 24.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.8482, allocations: 138.3 kB / 1.099 GB, free: 24.77 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/0.8528, allocations: 1.397 MB / 1.101 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.8529, allocations: 7.281 kB / 1.101 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.8529, allocations: 0.6094 kB / 1.101 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00402/0.8569, allocations: 1.232 MB / 1.102 GB, free: 24.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00762/0.8646, allocations: 2.737 MB / 1.105 GB, free: 23.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.8646, allocations: 3.406 kB / 1.105 GB, free: 23.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/0.8651, allocations: 120.9 kB / 1.105 GB, free: 23.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004874/0.8656, allocations: 142.1 kB / 1.105 GB, free: 23.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.8657, allocations: 22.34 kB / 1.105 GB, free: 23.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004245/0.8699, allocations: 2.494 MB / 1.107 GB, free: 22.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.8699, allocations: 6.125 kB / 1.107 GB, free: 22.42 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00539/0.8753, allocations: 1.846 MB / 1.109 GB, free: 22.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009732/0.8763, allocations: 334.4 kB / 1.109 GB, free: 21.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.8765, allocations: 20.73 kB / 1.109 GB, free: 21.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009091/0.8774, allocations: 88.59 kB / 1.11 GB, free: 21.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.8775, allocations: 56.73 kB / 1.11 GB, free: 21.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.907e-05/0.8776, allocations: 37.41 kB / 1.11 GB, free: 21.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001343/0.879, allocations: 0.8542 MB / 1.11 GB, free: 21.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.879, allocations: 0 / 1.11 GB, free: 21.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002412/0.8814, allocations: 0.7143 MB / 1.111 GB, free: 21.62 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.006389/0.8878, allocations: 2.699 MB / 1.114 GB, free: 20.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002863/0.8907, allocations: 1.163 MB / 1.115 GB, free: 20.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.8907, allocations: 1.188 kB / 1.115 GB, free: 20.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.8922, allocations: 0.6002 MB / 1.116 GB, free: 20.46 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004668/0.8969, allocations: 0.7973 MB / 1.116 GB, free: 20.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02111/0.918, allocations: 8.338 MB / 1.124 GB, free: 17.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.9193, allocations: 1.175 MB / 1.126 GB, free: 16.77 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002086/0.9214, allocations: 314.6 kB / 1.126 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.9225, allocations: 0.5162 MB / 1.126 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/0.9225, allocations: 0 / 1.126 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.213/1.135, allocations: 44.73 MB / 1.17 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/1.136, allocations: 239.8 kB / 1.17 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.381/4.517, allocations: 0 / 1.17 GB, free: 12.49 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)