Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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_TCon,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",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.686/1.686, allocations: 288.4 MB / 303.3 MB, free: 8.188 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.0009587/0.0009589, allocations: 179.4 kB / 372 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.722/1.722, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008621/0.0008621, allocations: 86.41 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004311, allocations: 14.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2458, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05016/0.296, allocations: 56.52 MB / 1.035 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01656/0.3126, allocations: 11.13 MB / 1.046 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.315, allocations: 51.62 kB / 1.046 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.317, allocations: 464.9 kB / 1.046 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005706/0.3228, allocations: 1.517 MB / 1.048 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.3261, allocations: 0.8866 MB / 1.049 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005067/0.3312, allocations: 3.386 MB / 1.052 GB, free: 1.477 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/0.3328, allocations: 0.786 MB / 1.053 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.3354, allocations: 1.05 MB / 1.054 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.3371, allocations: 0.8127 MB / 1.054 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002135/0.3373, allocations: 40 kB / 1.054 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.34, allocations: 1.099 MB / 1.056 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.3403, allocations: 203 kB / 1.056 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005304/0.3408, allocations: 281.1 kB / 1.056 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002455/0.3433, allocations: 1.641 MB / 1.058 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3433, allocations: 0 / 1.058 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3433, allocations: 0 / 1.058 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.3434, allocations: 0 / 1.058 GB, free: 11.53 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003088/0.3465, allocations: 1.505 MB / 1.059 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.3465, allocations: 12.03 kB / 1.059 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.3467, allocations: 118.7 kB / 1.059 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.3489, allocations: 469.9 kB / 1.06 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.3511, allocations: 1.097 MB / 1.061 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/0.3515, allocations: 129.9 kB / 1.061 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.3516, allocations: 84 kB / 1.061 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.3537, allocations: 0.9956 MB / 1.062 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.3537, allocations: 3.938 kB / 1.062 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.028e-05/0.3538, allocations: 32 kB / 1.062 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.3538, allocations: 20 kB / 1.062 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.3562, allocations: 0.9367 MB / 1.063 GB, free: 5.98 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.006792/0.363, allocations: 4.619 MB / 1.067 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003514/0.3665, allocations: 0.9265 MB / 1.068 GB, free: 112 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.549/0.9155, allocations: 338.7 kB / 1.069 GB, free: 91.28 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007429/0.9163, allocations: 0.9042 MB / 1.069 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.9164, allocations: 40.28 kB / 1.07 GB, free: 90.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 4.549e-06/0.9164, allocations: 3.312 kB / 1.07 GB, free: 90.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.01208/0.9285, allocations: 2.007 MB / 1.071 GB, free: 90.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.9286, allocations: 57.34 kB / 1.072 GB, free: 90.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/0.9314, allocations: 1.051 MB / 1.073 GB, free: 89.69 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001845/0.9316, allocations: 38.58 kB / 1.073 GB, free: 89.65 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006855/0.9323, allocations: 0.5145 MB / 1.073 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.9325, allocations: 166.8 kB / 1.073 GB, free: 89.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.9326, allocations: 12.78 kB / 1.073 GB, free: 89.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.9327, allocations: 328.1 kB / 1.074 GB, free: 88.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.9341, allocations: 332.6 kB / 1.074 GB, free: 88.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.9358, allocations: 0.5414 MB / 1.074 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.9374, allocations: 369.5 kB / 1.075 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.9374, allocations: 2.094 kB / 1.075 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005246/0.9427, allocations: 1.227 MB / 1.076 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.9428, allocations: 201.7 kB / 1.076 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.9428, allocations: 4.25 kB / 1.076 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.9443, allocations: 327.1 kB / 1.076 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/0.945, allocations: 138.1 kB / 1.077 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.9466, allocations: 0.9357 MB / 1.078 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.9483, allocations: 200.2 kB / 1.078 GB, free: 87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.9484, allocations: 29.62 kB / 1.078 GB, free: 86.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.9484, allocations: 3.562 kB / 1.078 GB, free: 86.99 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004033/0.9524, allocations: 1.1 MB / 1.079 GB, free: 86.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.9525, allocations: 5.047 kB / 1.079 GB, free: 86.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.954, allocations: 320.3 kB / 1.079 GB, free: 86.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.9547, allocations: 133.2 kB / 1.079 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.9563, allocations: 0.9297 MB / 1.08 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.9579, allocations: 173 kB / 1.08 GB, free: 85.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.958, allocations: 29.23 kB / 1.08 GB, free: 85.88 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007393/0.9587, allocations: 352.2 kB / 1.081 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/0.9591, allocations: 116.4 kB / 1.081 GB, free: 85.53 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004683/0.9638, allocations: 1.235 MB / 1.082 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.9638, allocations: 6.938 kB / 1.082 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.9638, allocations: 1.219 kB / 1.082 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.9639, allocations: 6.625 kB / 1.082 GB, free: 85.13 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006757/0.9706, allocations: 2.318 MB / 1.084 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/0.9707, allocations: 2.219 kB / 1.084 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.9711, allocations: 78.12 kB / 1.084 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/0.9723, allocations: 326 kB / 1.085 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/0.9724, allocations: 17.86 kB / 1.085 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.9742, allocations: 0.9742 MB / 1.086 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.9742, allocations: 3.094 kB / 1.086 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005635/0.9799, allocations: 1.455 MB / 1.087 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009485/0.9809, allocations: 285 kB / 1.087 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.9813, allocations: 13.53 kB / 1.087 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.9826, allocations: 114.2 kB / 1.087 GB, free: 82.53 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.9827, allocations: 45.03 kB / 1.088 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.535e-05/0.9828, allocations: 24.41 kB / 1.088 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001991/0.9848, allocations: 0.7318 MB / 1.088 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.6e-07/0.9848, allocations: 6.953 kB / 1.088 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002977/0.9878, allocations: 0.5553 MB / 1.089 GB, free: 82.11 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (37): * Single equations (assignments): 32 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.005822/0.9937, allocations: 2.119 MB / 1.091 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004225/0.9979, allocations: 1.21 MB / 1.092 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.998, allocations: 4.422 kB / 1.092 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.9992, allocations: 389.4 kB / 1.092 GB, free: 80.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003965/1.003, allocations: 0.5356 MB / 1.093 GB, free: 80.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02248/1.026, allocations: 6.923 MB / 1.1 GB, free: 76.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.027, allocations: 1.059 MB / 1.101 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001738/1.029, allocations: 227.2 kB / 1.101 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008127/1.029, allocations: 418 kB / 1.101 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of SimCode: time 1.753e-06/1.029, allocations: 0 / 1.101 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07179/1.101, allocations: 33.97 MB / 1.135 GB, free: 51.22 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/1.101, allocations: 250.7 kB / 1.135 GB, free: 50.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.069/4.17, allocations: 0 / 1.135 GB, free: 50.88 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)