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.644/1.644, allocations: 288.4 MB / 303.6 MB, free: 8.027 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.001033/0.001033, allocations: 191.3 kB / 372.3 MB, free: 10.11 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.308/1.308, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0007098/0.0007099, allocations: 98.8 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004023, allocations: 11.59 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2024, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04555/0.248, allocations: 56.53 MB / 1.035 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01697/0.2651, allocations: 11.14 MB / 1.046 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.2673, allocations: 51.62 kB / 1.046 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.269, allocations: 460.9 kB / 1.047 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005351/0.2744, allocations: 1.625 MB / 1.048 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003345/0.2778, allocations: 0.8765 MB / 1.049 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004908/0.2827, allocations: 3.418 MB / 1.053 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/0.2843, allocations: 0.8904 MB / 1.053 GB, free: 60 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.287, allocations: 1.096 MB / 1.054 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/0.2884, allocations: 0.805 MB / 1.055 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.2886, allocations: 44 kB / 1.055 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.2914, allocations: 1.271 MB / 1.057 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.2916, allocations: 203 kB / 1.057 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007862/0.2924, allocations: 0.6081 MB / 1.057 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.2946, allocations: 1.695 MB / 1.059 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.2947, allocations: 0 / 1.059 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2947, allocations: 3.938 kB / 1.059 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.2947, allocations: 0 / 1.059 GB, free: 10.31 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.002772/0.2975, allocations: 1.493 MB / 1.06 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.2975, allocations: 12.03 kB / 1.06 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000153/0.2977, allocations: 122.9 kB / 1.061 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/0.2999, allocations: 474.6 kB / 1.061 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.3021, allocations: 1.14 MB / 1.062 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.3025, allocations: 125.9 kB / 1.062 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.3026, allocations: 80 kB / 1.062 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.3048, allocations: 1.003 MB / 1.063 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.3048, allocations: 3.938 kB / 1.063 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.568e-05/0.3049, allocations: 32 kB / 1.063 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.305, allocations: 23.94 kB / 1.063 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.3075, allocations: 0.9289 MB / 1.064 GB, free: 4.727 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.4154/0.7229, allocations: 4.618 MB / 1.069 GB, free: 90.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0042/0.7272, allocations: 0.9334 MB / 1.07 GB, free: 90.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00086/0.728, allocations: 343.6 kB / 1.07 GB, free: 90.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005183/0.7286, allocations: 0.9039 MB / 1.071 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.7286, allocations: 41.53 kB / 1.071 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 4.348e-06/0.7286, allocations: 1.078 kB / 1.071 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008374/0.737, allocations: 2.016 MB / 1.073 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.7371, allocations: 56.95 kB / 1.073 GB, free: 89.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.7389, allocations: 1.048 MB / 1.074 GB, free: 88.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.962e-05/0.739, allocations: 42.17 kB / 1.074 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004336/0.7395, allocations: 0.5132 MB / 1.075 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.7396, allocations: 169.8 kB / 1.075 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.7397, allocations: 10.5 kB / 1.075 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.079e-05/0.7397, allocations: 326.3 kB / 1.075 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009665/0.7407, allocations: 334.1 kB / 1.075 GB, free: 87.99 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.7418, allocations: 0.5338 MB / 1.076 GB, free: 87.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.7436, allocations: 0.7294 MB / 1.077 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.7436, allocations: 5.531 kB / 1.077 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004109/0.7478, allocations: 1.237 MB / 1.078 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.71e-05/0.7479, allocations: 202.5 kB / 1.078 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.7479, allocations: 4.062 kB / 1.078 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.7493, allocations: 334.1 kB / 1.078 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.7499, allocations: 130.6 kB / 1.078 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.7514, allocations: 0.9396 MB / 1.079 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.7529, allocations: 194.2 kB / 1.08 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/0.753, allocations: 29.78 kB / 1.08 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.753, allocations: 3.984 kB / 1.08 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003509/0.7565, allocations: 1.097 MB / 1.081 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.7565, allocations: 3.312 kB / 1.081 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.7577, allocations: 325.9 kB / 1.081 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.7583, allocations: 137.6 kB / 1.081 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.7597, allocations: 0.9306 MB / 1.082 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.7611, allocations: 164.8 kB / 1.082 GB, free: 84.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-05/0.7612, allocations: 38.25 kB / 1.082 GB, free: 84.77 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.0005632/0.7617, allocations: 358 kB / 1.083 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.7619, allocations: 111.7 kB / 1.083 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/0.766, allocations: 1.235 MB / 1.084 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.766, allocations: 14.3 kB / 1.084 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.766, allocations: 1.312 kB / 1.084 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.766, allocations: 3.5 kB / 1.084 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005762/0.7718, allocations: 2.317 MB / 1.086 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.7718, allocations: 1.969 kB / 1.086 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.7722, allocations: 77.58 kB / 1.086 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.7733, allocations: 317.8 kB / 1.086 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.7733, allocations: 20.52 kB / 1.087 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.7748, allocations: 0.9728 MB / 1.087 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.7748, allocations: 1.969 kB / 1.087 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004762/0.7796, allocations: 1.452 MB / 1.089 GB, free: 81.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006262/0.7802, allocations: 293.2 kB / 1.089 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.7803, allocations: 18.09 kB / 1.089 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008948/0.7812, allocations: 109.1 kB / 1.089 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.7813, allocations: 38.27 kB / 1.089 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-05/0.7814, allocations: 24.7 kB / 1.089 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001228/0.7827, allocations: 0.7348 MB / 1.09 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7827, allocations: 0 / 1.09 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001581/0.7843, allocations: 0.5684 MB / 1.091 GB, free: 81.02 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.004783/0.789, allocations: 2.138 MB / 1.093 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003537/0.7926, allocations: 1.204 MB / 1.094 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.413e-06/0.7926, allocations: 2.953 kB / 1.094 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009913/0.7936, allocations: 395.5 kB / 1.094 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/0.7966, allocations: 0.5175 MB / 1.095 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/0.8122, allocations: 6.919 MB / 1.102 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/0.8129, allocations: 1.065 MB / 1.103 GB, free: 75.15 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001165/0.8141, allocations: 231.3 kB / 1.103 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005232/0.8146, allocations: 419.1 kB / 1.103 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/0.8146, allocations: 3.938 kB / 1.103 GB, free: 74.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05366/0.8683, allocations: 34.68 MB / 1.137 GB, free: 48.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.8685, allocations: 264.2 kB / 1.137 GB, free: 48.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.165/4.034, allocations: 0 / 1.137 GB, free: 48.45 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)