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.755/1.755, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.0009459/0.0009459, allocations: 182.9 kB / 372.3 MB, free: 10.12 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.377/1.377, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.000694/0.000694, allocations: 90.3 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003976, allocations: 12.56 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1998, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05797/0.2578, allocations: 69.45 MB / 1.048 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01907/0.2769, allocations: 14.08 MB / 1.062 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/0.2797, allocations: 63.56 kB / 1.062 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.2821, allocations: 0.5588 MB / 1.062 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006872/0.289, allocations: 2.12 MB / 1.064 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00343/0.2924, allocations: 0.9884 MB / 1.065 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.4466/0.739, allocations: 4.811 MB / 1.07 GB, free: 34.23 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002464/0.7415, allocations: 1.143 MB / 1.071 GB, free: 34.1 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.7447, allocations: 1.308 MB / 1.072 GB, free: 34.1 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/0.7471, allocations: 1.085 MB / 1.074 GB, free: 34.09 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002765/0.7474, allocations: 55.94 kB / 1.074 GB, free: 34.09 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003828/0.7513, allocations: 1.175 MB / 1.075 GB, free: 34.09 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004731/0.7517, allocations: 273.1 kB / 1.075 GB, free: 34.09 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.7532, allocations: 0.7645 MB / 1.076 GB, free: 34.06 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00499/0.7582, allocations: 2.162 MB / 1.078 GB, free: 33.99 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.7583, allocations: 0 / 1.078 GB, free: 33.99 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.799e-06/0.7583, allocations: 1.062 kB / 1.078 GB, free: 33.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.46e-05/0.7583, allocations: 0 / 1.078 GB, free: 33.99 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.005051/0.7634, allocations: 1.783 MB / 1.08 GB, free: 33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.7635, allocations: 9.031 kB / 1.08 GB, free: 33 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002614/0.7637, allocations: 149 kB / 1.08 GB, free: 32.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009211/0.7646, allocations: 243.3 kB / 1.08 GB, free: 32.87 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/0.7675, allocations: 1.491 MB / 1.081 GB, free: 32.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.7676, allocations: 74.53 kB / 1.082 GB, free: 32.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.7678, allocations: 101.6 kB / 1.082 GB, free: 32.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/0.7704, allocations: 1.111 MB / 1.083 GB, free: 32.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.7705, allocations: 5.188 kB / 1.083 GB, free: 32.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.752e-05/0.7706, allocations: 39.12 kB / 1.083 GB, free: 32.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/0.7707, allocations: 25.39 kB / 1.083 GB, free: 32.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.7729, allocations: 0.9278 MB / 1.084 GB, free: 32.3 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.006716/0.7796, allocations: 4.923 MB / 1.088 GB, free: 30.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.7811, allocations: 0.6442 MB / 1.089 GB, free: 30.06 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007607/0.7819, allocations: 372.7 kB / 1.089 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005026/0.7824, allocations: 0.8344 MB / 1.09 GB, free: 29.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.7825, allocations: 39.56 kB / 1.09 GB, free: 29.06 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.036e-06/0.7825, allocations: 0 / 1.09 GB, free: 29.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.007704/0.7902, allocations: 1.886 MB / 1.092 GB, free: 28.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.7903, allocations: 62.5 kB / 1.092 GB, free: 28.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.7923, allocations: 1.198 MB / 1.093 GB, free: 28.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.7924, allocations: 39.64 kB / 1.093 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.7929, allocations: 0.6037 MB / 1.094 GB, free: 28.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.7932, allocations: 214.2 kB / 1.094 GB, free: 28.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.7932, allocations: 14.47 kB / 1.094 GB, free: 28.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.7933, allocations: 331.5 kB / 1.095 GB, free: 27.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007099/0.794, allocations: 297.8 kB / 1.095 GB, free: 27.87 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008391/0.7949, allocations: 0.5087 MB / 1.095 GB, free: 27.65 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.7963, allocations: 0.7425 MB / 1.096 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.7963, allocations: 5.438 kB / 1.096 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005239/0.8016, allocations: 1.391 MB / 1.097 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.8017, allocations: 197.6 kB / 1.098 GB, free: 27.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.8018, allocations: 3.984 kB / 1.098 GB, free: 27.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006379/0.8024, allocations: 149.5 kB / 1.098 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.8031, allocations: 160.8 kB / 1.098 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008204/0.8039, allocations: 0.7198 MB / 1.099 GB, free: 26.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.8055, allocations: 168.9 kB / 1.099 GB, free: 26.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.8057, allocations: 33.38 kB / 1.099 GB, free: 26.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.8057, allocations: 4.688 kB / 1.099 GB, free: 26.54 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004809/0.8105, allocations: 1.247 MB / 1.1 GB, free: 26.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.8105, allocations: 8.594 kB / 1.1 GB, free: 26.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.8111, allocations: 145.6 kB / 1.1 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/0.8117, allocations: 170.3 kB / 1.1 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007386/0.8125, allocations: 0.7161 MB / 1.101 GB, free: 25.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.8142, allocations: 168.4 kB / 1.101 GB, free: 25.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/0.8143, allocations: 33.06 kB / 1.101 GB, free: 25.89 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.0009172/0.8152, allocations: 417.8 kB / 1.102 GB, free: 25.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.8155, allocations: 143.9 kB / 1.102 GB, free: 25.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004863/0.8203, allocations: 1.392 MB / 1.103 GB, free: 25.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.8204, allocations: 6.062 kB / 1.103 GB, free: 25.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.8204, allocations: 3.375 kB / 1.103 GB, free: 25.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004154/0.8246, allocations: 1.231 MB / 1.104 GB, free: 25.28 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00735/0.8319, allocations: 2.74 MB / 1.107 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.832, allocations: 5.859 kB / 1.107 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.8325, allocations: 117.2 kB / 1.107 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005204/0.833, allocations: 145.9 kB / 1.107 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.8331, allocations: 19.44 kB / 1.107 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004543/0.8376, allocations: 2.484 MB / 1.11 GB, free: 23.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.8376, allocations: 7 kB / 1.11 GB, free: 23.28 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005619/0.8433, allocations: 1.841 MB / 1.112 GB, free: 22.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009785/0.8443, allocations: 334.4 kB / 1.112 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.8445, allocations: 17.94 kB / 1.112 GB, free: 22.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009885/0.8455, allocations: 88.98 kB / 1.112 GB, free: 22.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.8456, allocations: 59.56 kB / 1.112 GB, free: 22.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.641e-05/0.8457, allocations: 35.38 kB / 1.112 GB, free: 22.69 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001423/0.8472, allocations: 0.8572 MB / 1.113 GB, free: 22.58 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8472, allocations: 0 / 1.113 GB, free: 22.58 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002442/0.8496, allocations: 0.7169 MB / 1.114 GB, free: 22.48 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.007096/0.8567, allocations: 2.719 MB / 1.116 GB, free: 21.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00299/0.8597, allocations: 1.162 MB / 1.117 GB, free: 21.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.8598, allocations: 2.625 kB / 1.117 GB, free: 21.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.8614, allocations: 0.5949 MB / 1.118 GB, free: 21.33 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004911/0.8663, allocations: 0.7944 MB / 1.119 GB, free: 21.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02132/0.8876, allocations: 8.347 MB / 1.127 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.8887, allocations: 1.182 MB / 1.128 GB, free: 16.81 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001916/0.8906, allocations: 312 kB / 1.128 GB, free: 16.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008661/0.8915, allocations: 0.5131 MB / 1.129 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of SimCode: time 1.302e-06/0.8915, allocations: 0 / 1.129 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6836/1.575, allocations: 45.18 MB / 1.173 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/1.575, allocations: 247.2 kB / 1.173 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.608/5.183, allocations: 4 kB / 1.173 GB, free: 10.85 MB / 0.7136 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)