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.814/1.814, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.001117/0.001116, allocations: 186 kB / 371.8 MB, free: 10.28 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.514/1.514, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0007989/0.0007991, allocations: 98.78 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003705, allocations: 11.5 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2082, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04841/0.2567, allocations: 51.33 MB / 1.03 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01464/0.2714, allocations: 10.22 MB / 1.04 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.2733, allocations: 51.62 kB / 1.04 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.2756, allocations: 0.6219 MB / 1.04 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007016/0.2827, allocations: 1.905 MB / 1.042 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004058/0.2868, allocations: 1.322 MB / 1.043 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004125/0.2909, allocations: 1.855 MB / 1.045 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.2926, allocations: 0.7901 MB / 1.046 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00241/0.2951, allocations: 0.9886 MB / 1.047 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.2965, allocations: 0.6144 MB / 1.048 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.2968, allocations: 44 kB / 1.048 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003023/0.2998, allocations: 0.9868 MB / 1.049 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.3002, allocations: 195.1 kB / 1.049 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005596/0.3007, allocations: 289 kB / 1.049 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.3033, allocations: 1.582 MB / 1.051 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3034, allocations: 0 / 1.051 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3034, allocations: 0 / 1.051 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.623e-05/0.3034, allocations: 0 / 1.051 GB, free: 2.648 MB / 0.6667 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.003396/0.3068, allocations: 1.494 MB / 1.052 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3069, allocations: 8.031 kB / 1.052 GB, free: 1.09 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002319/0.3071, allocations: 118.7 kB / 1.052 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/0.3093, allocations: 473.9 kB / 1.053 GB, free: 0.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/0.3115, allocations: 1.059 MB / 1.054 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000361/0.3119, allocations: 133.9 kB / 1.054 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.3121, allocations: 83.94 kB / 1.054 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.3142, allocations: 0.9917 MB / 1.055 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.3143, allocations: 0 / 1.055 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.383e-05/0.3143, allocations: 35.98 kB / 1.055 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.3144, allocations: 24 kB / 1.055 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.3169, allocations: 0.9212 MB / 1.056 GB, free: 13.16 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.007499/0.3244, allocations: 4.662 MB / 1.06 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/0.3281, allocations: 0.9528 MB / 1.061 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007206/0.3288, allocations: 0.8951 MB / 1.062 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.3289, allocations: 39 kB / 1.062 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.936e-06/0.3289, allocations: 0 / 1.062 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008283/0.3372, allocations: 2.003 MB / 1.064 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3373, allocations: 55.84 kB / 1.064 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.3394, allocations: 1.071 MB / 1.065 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.786e-05/0.3395, allocations: 37.7 kB / 1.065 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005466/0.34, allocations: 0.5235 MB / 1.066 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.3402, allocations: 161.7 kB / 1.066 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.3403, allocations: 8 kB / 1.066 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3404, allocations: 337.9 kB / 1.066 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00092/0.3414, allocations: 332.8 kB / 1.067 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.3425, allocations: 0.5367 MB / 1.067 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009635/0.3435, allocations: 360.6 kB / 1.067 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3435, allocations: 0 / 1.067 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.494/0.8375, allocations: 1.224 MB / 1.069 GB, free: 90.31 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004573/0.838, allocations: 1.493 MB / 1.07 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.838, allocations: 3.969 kB / 1.07 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/0.84, allocations: 329.4 kB / 1.07 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/0.8408, allocations: 137 kB / 1.071 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.8425, allocations: 0.9396 MB / 1.071 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.8441, allocations: 193.2 kB / 1.072 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.785e-05/0.8442, allocations: 36.36 kB / 1.072 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.8442, allocations: 8.703 kB / 1.072 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003536/0.8478, allocations: 1.084 MB / 1.073 GB, free: 88.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.8478, allocations: 7.547 kB / 1.073 GB, free: 88.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.849, allocations: 331.9 kB / 1.073 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/0.8496, allocations: 134.3 kB / 1.073 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.8511, allocations: 0.9323 MB / 1.074 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.8525, allocations: 174.2 kB / 1.074 GB, free: 87.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.217e-05/0.8526, allocations: 29.25 kB / 1.074 GB, free: 87.43 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.0006026/0.8532, allocations: 356.3 kB / 1.075 GB, free: 87.15 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.8534, allocations: 110.3 kB / 1.075 GB, free: 87.15 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004231/0.8577, allocations: 1.236 MB / 1.076 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.8577, allocations: 7.031 kB / 1.076 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.8577, allocations: 0.9062 kB / 1.076 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.8577, allocations: 2.344 kB / 1.076 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005906/0.8636, allocations: 2.327 MB / 1.078 GB, free: 85.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.8637, allocations: 1.625 kB / 1.078 GB, free: 85.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.864, allocations: 80.62 kB / 1.078 GB, free: 85.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.8652, allocations: 332.6 kB / 1.079 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/0.8653, allocations: 14.56 kB / 1.079 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.8667, allocations: 0.9675 MB / 1.08 GB, free: 85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.8668, allocations: 7.406 kB / 1.08 GB, free: 85 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00492/0.8717, allocations: 1.566 MB / 1.081 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006678/0.8724, allocations: 298.5 kB / 1.081 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.8725, allocations: 17.98 kB / 1.081 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009034/0.8734, allocations: 110.8 kB / 1.082 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.8735, allocations: 33.69 kB / 1.082 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/0.8736, allocations: 24.7 kB / 1.082 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001415/0.875, allocations: 0.7504 MB / 1.082 GB, free: 83.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3e-07/0.875, allocations: 0 / 1.082 GB, free: 83.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001849/0.8769, allocations: 0.5685 MB / 1.083 GB, free: 83.62 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.005062/0.882, allocations: 2.857 MB / 1.086 GB, free: 81.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003741/0.8857, allocations: 1.203 MB / 1.087 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.8858, allocations: 4.203 kB / 1.087 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.8868, allocations: 393 kB / 1.087 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.8898, allocations: 0.5216 MB / 1.088 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008361/0.8982, allocations: 5.652 MB / 1.093 GB, free: 76.86 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007051/0.899, allocations: 1.084 MB / 1.094 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001462/0.9004, allocations: 230.4 kB / 1.094 GB, free: 76.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006419/0.9011, allocations: 411.5 kB / 1.095 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of SimCode: time 1.152e-06/0.9011, allocations: 0 / 1.095 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06721/0.9683, allocations: 33.67 MB / 1.128 GB, free: 57.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.9686, allocations: 249.4 kB / 1.128 GB, free: 57.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/4.026, allocations: 0 / 1.128 GB, free: 57.04 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)