Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.848/1.848, allocations: 288.2 MB / 303.2 MB, free: 8.223 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.001189/0.001189, allocations: 183.8 kB / 371.8 MB, free: 10.29 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.529/1.529, allocations: 205.4 MB / 0.6305 GB, free: 9.992 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.0008611/0.000861, allocations: 86.92 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004338, allocations: 11.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05721/0.2777, allocations: 62.99 MB / 1.041 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01853/0.2963, allocations: 12.89 MB / 1.054 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.2986, allocations: 51.62 kB / 1.054 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002832/0.3015, allocations: 0.7423 MB / 1.054 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00792/0.3094, allocations: 2.355 MB / 1.057 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004911/0.3144, allocations: 1.538 MB / 1.058 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00535/0.3197, allocations: 2.491 MB / 1.061 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002049/0.3218, allocations: 1.033 MB / 1.062 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/0.3246, allocations: 1.164 MB / 1.063 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.3261, allocations: 0.7817 MB / 1.063 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.3264, allocations: 63.94 kB / 1.064 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.329, allocations: 0.8347 MB / 1.064 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.3294, allocations: 262.9 kB / 1.065 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006065/0.33, allocations: 356.9 kB / 1.065 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003083/0.3331, allocations: 2.014 MB / 1.067 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3331, allocations: 4 kB / 1.067 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3331, allocations: 0 / 1.067 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.219e-05/0.3332, allocations: 0 / 1.067 GB, free: 1.863 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.0037/0.3369, allocations: 1.78 MB / 1.069 GB, free: 20 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3369, allocations: 8.031 kB / 1.069 GB, free: 12 kB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.397/0.734, allocations: 143 kB / 1.069 GB, free: 91.78 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.7352, allocations: 242.9 kB / 1.069 GB, free: 91.78 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003152/0.7383, allocations: 1.372 MB / 1.07 GB, free: 91.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.7384, allocations: 80.67 kB / 1.07 GB, free: 91.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.7386, allocations: 102.9 kB / 1.071 GB, free: 91.22 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.7407, allocations: 1.11 MB / 1.072 GB, free: 90.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.7408, allocations: 5.406 kB / 1.072 GB, free: 90.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.133e-05/0.7409, allocations: 37.38 kB / 1.072 GB, free: 90.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.7409, allocations: 30.11 kB / 1.072 GB, free: 90.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.7429, allocations: 0.9265 MB / 1.073 GB, free: 90.39 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.006881/0.7498, allocations: 4.966 MB / 1.077 GB, free: 87 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.7514, allocations: 0.6316 MB / 1.078 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000499/0.7519, allocations: 0.8289 MB / 1.079 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.752, allocations: 39.98 kB / 1.079 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.196e-06/0.752, allocations: 3.938 kB / 1.079 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.008202/0.7602, allocations: 1.882 MB / 1.081 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.7602, allocations: 58.67 kB / 1.081 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.7625, allocations: 1.251 MB / 1.082 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.7627, allocations: 47.11 kB / 1.082 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005242/0.7632, allocations: 0.5988 MB / 1.083 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.7635, allocations: 215.9 kB / 1.083 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.7635, allocations: 15.12 kB / 1.083 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.382e-05/0.7636, allocations: 337.1 kB / 1.083 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007664/0.7643, allocations: 298.2 kB / 1.083 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009095/0.7653, allocations: 0.5059 MB / 1.084 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008381/0.7661, allocations: 355.7 kB / 1.084 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.7661, allocations: 2.406 kB / 1.084 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005367/0.7715, allocations: 1.398 MB / 1.086 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003743/0.7719, allocations: 1.423 MB / 1.087 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.772, allocations: 3.5 kB / 1.087 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007877/0.7728, allocations: 148.3 kB / 1.087 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008317/0.7736, allocations: 169.3 kB / 1.087 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008714/0.7745, allocations: 0.7151 MB / 1.088 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.7761, allocations: 168.2 kB / 1.088 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.539e-05/0.7762, allocations: 34.7 kB / 1.088 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.7762, allocations: 4.156 kB / 1.088 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004774/0.781, allocations: 1.255 MB / 1.09 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.781, allocations: 3.844 kB / 1.09 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.7816, allocations: 151.8 kB / 1.09 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006702/0.7823, allocations: 161 kB / 1.09 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007914/0.7831, allocations: 0.721 MB / 1.091 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.7845, allocations: 172.4 kB / 1.091 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.7e-05/0.7846, allocations: 29.59 kB / 1.091 GB, free: 79.55 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.0008409/0.7855, allocations: 421.1 kB / 1.091 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004281/0.7859, allocations: 131.1 kB / 1.091 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005171/0.7911, allocations: 1.399 MB / 1.093 GB, free: 78.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.7912, allocations: 7.656 kB / 1.093 GB, free: 78.74 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.7912, allocations: 0.6562 kB / 1.093 GB, free: 78.74 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004514/0.7957, allocations: 1.232 MB / 1.094 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008479/0.8042, allocations: 2.76 MB / 1.097 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/0.8043, allocations: 9.844 kB / 1.097 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/0.8049, allocations: 121.5 kB / 1.097 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005912/0.8055, allocations: 136.1 kB / 1.097 GB, free: 77.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.8056, allocations: 22.84 kB / 1.097 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005234/0.8109, allocations: 2.551 MB / 1.099 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.8109, allocations: 8.344 kB / 1.099 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006669/0.8176, allocations: 2.061 MB / 1.101 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/0.819, allocations: 350.6 kB / 1.102 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005721/0.8196, allocations: 18.86 kB / 1.102 GB, free: 73.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.821, allocations: 91.94 kB / 1.102 GB, free: 73.59 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.8212, allocations: 62.02 kB / 1.102 GB, free: 73.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.8213, allocations: 28.27 kB / 1.102 GB, free: 73.55 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002258/0.8236, allocations: 0.9003 MB / 1.103 GB, free: 73.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8236, allocations: 0 / 1.103 GB, free: 73.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003578/0.8272, allocations: 0.723 MB / 1.103 GB, free: 72.91 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.007114/0.8343, allocations: 3.852 MB / 1.107 GB, free: 70.08 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002991/0.8374, allocations: 1.159 MB / 1.108 GB, free: 69.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/0.8374, allocations: 5.031 kB / 1.108 GB, free: 69.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.839, allocations: 0.5921 MB / 1.109 GB, free: 69.24 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004393/0.8434, allocations: 0.7609 MB / 1.11 GB, free: 68.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007475/0.8509, allocations: 5.93 MB / 1.115 GB, free: 63.94 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009391/0.8519, allocations: 1.194 MB / 1.117 GB, free: 63.01 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001708/0.8536, allocations: 306 kB / 1.117 GB, free: 62.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008167/0.8545, allocations: 0.5115 MB / 1.117 GB, free: 62.43 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/0.8545, allocations: 4 kB / 1.117 GB, free: 62.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07585/0.9303, allocations: 42.22 MB / 1.159 GB, free: 25.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.9306, allocations: 250.1 kB / 1.159 GB, free: 25.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.501/4.432, allocations: 0 / 1.159 GB, free: 25.66 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)