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.699/2.699, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001661/0.001661, allocations: 191.1 kB / 370.8 MB, free: 10.86 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.176/2.176, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.00117/0.00117, allocations: 100.8 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006388/0.0006389, allocations: 15.48 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2421, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.1132/0.3553, allocations: 62.99 MB / 1.04 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0281/0.3835, allocations: 12.87 MB / 1.052 GB, free: 292 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.386, allocations: 51.62 kB / 1.052 GB, free: 240 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003753/0.3898, allocations: 0.7346 MB / 1.053 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.4004, allocations: 2.362 MB / 1.055 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007248/0.4077, allocations: 1.539 MB / 1.057 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006674/0.4144, allocations: 2.493 MB / 1.059 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00283/0.4173, allocations: 1.029 MB / 1.06 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004002/0.4213, allocations: 1.168 MB / 1.062 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/0.4237, allocations: 0.7856 MB / 1.062 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004539/0.4242, allocations: 56 kB / 1.062 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003952/0.4282, allocations: 0.8386 MB / 1.063 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000706/0.4289, allocations: 258.9 kB / 1.063 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008595/0.4298, allocations: 360.9 kB / 1.064 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005036/0.4349, allocations: 2.014 MB / 1.066 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4349, allocations: 4 kB / 1.066 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.006e-06/0.4349, allocations: 0 / 1.066 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.749e-05/0.435, allocations: 0 / 1.066 GB, free: 2.578 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.005869/0.4409, allocations: 1.787 MB / 1.067 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.441, allocations: 8.031 kB / 1.067 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004636/0.4414, allocations: 144 kB / 1.068 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.4429, allocations: 249.8 kB / 1.068 GB, free: 332 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6455/1.088, allocations: 1.358 MB / 1.069 GB, free: 91.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/1.089, allocations: 76.09 kB / 1.069 GB, free: 91.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/1.089, allocations: 111.6 kB / 1.069 GB, free: 91.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003819/1.093, allocations: 1.106 MB / 1.07 GB, free: 90.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/1.093, allocations: 1.562 kB / 1.07 GB, free: 90.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/1.093, allocations: 37.53 kB / 1.07 GB, free: 90.72 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.274e-05/1.093, allocations: 27.95 kB / 1.07 GB, free: 90.72 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003691/1.097, allocations: 0.9272 MB / 1.071 GB, free: 90.41 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.01076/1.108, allocations: 4.964 MB / 1.076 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/1.11, allocations: 0.6371 MB / 1.077 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007337/1.111, allocations: 0.8278 MB / 1.078 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/1.111, allocations: 39.44 kB / 1.078 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.907e-06/1.111, allocations: 3.844 kB / 1.078 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.01437/1.126, allocations: 1.889 MB / 1.08 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/1.126, allocations: 57.84 kB / 1.08 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/1.129, allocations: 1.249 MB / 1.081 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002139/1.129, allocations: 40.95 kB / 1.081 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006998/1.13, allocations: 0.5988 MB / 1.081 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000301/1.13, allocations: 219.2 kB / 1.082 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/1.13, allocations: 19.16 kB / 1.082 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/1.13, allocations: 332.7 kB / 1.082 GB, free: 83.81 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/1.132, allocations: 294.7 kB / 1.082 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/1.133, allocations: 0.5031 MB / 1.083 GB, free: 83.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/1.135, allocations: 362.1 kB / 1.083 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.135, allocations: 4 kB / 1.083 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009161/1.144, allocations: 1.398 MB / 1.084 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003186/1.144, allocations: 1.423 MB / 1.086 GB, free: 81.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.144, allocations: 3.219 kB / 1.086 GB, free: 81.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009935/1.145, allocations: 145.7 kB / 1.086 GB, free: 81.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/1.147, allocations: 165.4 kB / 1.086 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/1.148, allocations: 0.7123 MB / 1.087 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/1.15, allocations: 181 kB / 1.087 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/1.151, allocations: 31.7 kB / 1.087 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.151, allocations: 4.031 kB / 1.087 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008518/1.159, allocations: 1.249 MB / 1.088 GB, free: 80.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.159, allocations: 3.406 kB / 1.088 GB, free: 80.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008997/1.16, allocations: 156.7 kB / 1.088 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.161, allocations: 165 kB / 1.089 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/1.163, allocations: 0.7059 MB / 1.089 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/1.165, allocations: 171.8 kB / 1.089 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/1.165, allocations: 34.61 kB / 1.09 GB, free: 79.63 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.0009753/1.166, allocations: 425.1 kB / 1.09 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000444/1.167, allocations: 130.7 kB / 1.09 GB, free: 79.24 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/1.178, allocations: 1.403 MB / 1.091 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-05/1.178, allocations: 10.89 kB / 1.091 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/1.178, allocations: 0 / 1.091 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01146/1.189, allocations: 1.233 MB / 1.093 GB, free: 78.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/1.207, allocations: 2.753 MB / 1.095 GB, free: 77.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/1.207, allocations: 4.281 kB / 1.095 GB, free: 77.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/1.208, allocations: 125.5 kB / 1.095 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/1.21, allocations: 141.1 kB / 1.096 GB, free: 77.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/1.21, allocations: 18.22 kB / 1.096 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008898/1.219, allocations: 2.562 MB / 1.098 GB, free: 75.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-05/1.219, allocations: 8.062 kB / 1.098 GB, free: 75.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/1.229, allocations: 2.054 MB / 1.1 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.23, allocations: 340.3 kB / 1.1 GB, free: 73.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003082/1.231, allocations: 20.94 kB / 1.1 GB, free: 73.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/1.232, allocations: 102.1 kB / 1.101 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/1.233, allocations: 60.14 kB / 1.101 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.233, allocations: 32.91 kB / 1.101 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002008/1.235, allocations: 0.9012 MB / 1.102 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.52e-07/1.235, allocations: 0 / 1.102 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003217/1.238, allocations: 0.7174 MB / 1.102 GB, free: 73.43 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.01129/1.249, allocations: 3.852 MB / 1.106 GB, free: 70.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004526/1.254, allocations: 1.157 MB / 1.107 GB, free: 70.42 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.254, allocations: 1.031 kB / 1.107 GB, free: 70.42 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002639/1.257, allocations: 0.6006 MB / 1.108 GB, free: 70.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00623/1.263, allocations: 0.7531 MB / 1.108 GB, free: 69.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008829/1.272, allocations: 5.935 MB / 1.114 GB, free: 64.78 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008787/1.273, allocations: 1.2 MB / 1.115 GB, free: 63.84 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002275/1.275, allocations: 310.1 kB / 1.116 GB, free: 63.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/1.276, allocations: 0.5118 MB / 1.116 GB, free: 63.26 MB / 0.6823 GB Notification: Performance of SimCode: time 1.233e-06/1.276, allocations: 0 / 1.116 GB, free: 63.26 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1284/1.404, allocations: 42.2 MB / 1.157 GB, free: 27.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/1.405, allocations: 237.3 kB / 1.158 GB, free: 26.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.062/5.466, allocations: 0 / 1.158 GB, free: 26.91 MB / 0.6823 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)