Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009795/0.0009794, allocations: 178.3 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007138/0.0007138, allocations: 88.42 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003362, allocations: 10.38 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2373, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04263/0.28, allocations: 60.56 MB / 0.9553 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.2953, allocations: 11.93 MB / 0.967 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/0.2985, allocations: 55.62 kB / 0.967 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.3007, allocations: 0.5477 MB / 0.9676 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005876/0.3066, allocations: 1.793 MB / 0.9693 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.3102, allocations: 1.089 MB / 0.9704 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005704/0.3159, allocations: 3.882 MB / 0.9742 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.3179, allocations: 0.8923 MB / 0.9751 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.3209, allocations: 1.12 MB / 0.9761 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.323, allocations: 0.8786 MB / 0.977 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004004/0.3234, allocations: 44 kB / 0.977 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00395/0.3274, allocations: 1.314 MB / 0.9783 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004653/0.3279, allocations: 214.9 kB / 0.9785 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.329, allocations: 0.606 MB / 0.9791 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004009/0.333, allocations: 2.208 MB / 0.9813 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.333, allocations: 3.938 kB / 0.9813 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.184e-06/0.333, allocations: 0 / 0.9813 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.3331, allocations: 4 kB / 0.9813 GB, free: 12.61 MB / 0.6355 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.003052/0.3361, allocations: 1.493 MB / 0.9827 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.3362, allocations: 8.031 kB / 0.9828 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.3364, allocations: 126.8 kB / 0.9829 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.338, allocations: 383 kB / 0.9832 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.3401, allocations: 1.128 MB / 0.9843 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003554/0.3405, allocations: 125.9 kB / 0.9845 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3406, allocations: 88 kB / 0.9845 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.3426, allocations: 0.9605 MB / 0.9855 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.3426, allocations: 4 kB / 0.9855 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/0.3427, allocations: 35.94 kB / 0.9855 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.3427, allocations: 24 kB / 0.9855 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.3448, allocations: 0.8627 MB / 0.9864 GB, free: 7.223 MB / 0.6355 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.006471/0.3512, allocations: 4.564 MB / 0.9908 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.3529, allocations: 0.6376 MB / 0.9915 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006502/0.3536, allocations: 302 kB / 0.9918 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001456/0.355, allocations: 1.396 MB / 0.9931 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3551, allocations: 39 kB / 0.9932 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 2.965e-06/0.3551, allocations: 0 / 0.9932 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47): time 0.007513/0.3626, allocations: 1.912 MB / 0.995 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3627, allocations: 55.84 kB / 0.9951 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.3644, allocations: 1.063 MB / 0.9961 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.777e-05/0.3645, allocations: 41.64 kB / 0.9962 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.3649, allocations: 0.5157 MB / 0.9967 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.365, allocations: 161.7 kB / 0.9968 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-05/0.3651, allocations: 49.7 kB / 0.9969 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3653, allocations: 330 kB / 0.9972 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/0.3661, allocations: 296.9 kB / 0.9975 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009602/0.367, allocations: 0.4962 MB / 0.9979 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.3685, allocations: 0.6699 MB / 0.9986 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3685, allocations: 4 kB / 0.9986 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002542/0.3711, allocations: 1.011 MB / 0.9996 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.3712, allocations: 192.1 kB / 0.9998 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.3712, allocations: 8 kB / 0.9998 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.3725, allocations: 328.5 kB / 1 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/0.373, allocations: 123.8 kB / 1 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.3745, allocations: 0.9453 MB / 1.001 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.3758, allocations: 187.2 kB / 1.001 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.165e-05/0.3759, allocations: 27.98 kB / 1.001 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/0.3759, allocations: 4 kB / 1.001 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002179/0.3781, allocations: 0.87 MB / 1.002 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3781, allocations: 7.984 kB / 1.002 GB, free: 6.102 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.3792, allocations: 320.7 kB / 1.003 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.3796, allocations: 123.8 kB / 1.003 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.381, allocations: 0.9347 MB / 1.004 GB, free: 4.703 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.3822, allocations: 165.9 kB / 1.004 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.3823, allocations: 31.98 kB / 1.004 GB, free: 4.512 MB / 0.6511 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006287/0.3829, allocations: 345 kB / 1.004 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.3831, allocations: 114.5 kB / 1.004 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/0.3868, allocations: 1.197 MB / 1.005 GB, free: 2.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.3868, allocations: 15.98 kB / 1.005 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3868, allocations: 0 / 1.005 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3868, allocations: 0 / 1.005 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004867/0.3917, allocations: 2.212 MB / 1.008 GB, free: 0.5234 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.3917, allocations: 3.938 kB / 1.008 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.392, allocations: 63.91 kB / 1.008 GB, free: 468 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.393, allocations: 339.4 kB / 1.008 GB, free: 128 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.393, allocations: 19.98 kB / 1.008 GB, free: 108 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.3946, allocations: 0.9723 MB / 1.009 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3946, allocations: 0 / 1.009 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/0.3982, allocations: 1.246 MB / 1.01 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/0.3986, allocations: 263.5 kB / 1.01 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.3988, allocations: 12 kB / 1.01 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008178/0.3996, allocations: 99.81 kB / 1.01 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.3997, allocations: 35.89 kB / 1.01 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/0.3998, allocations: 27.98 kB / 1.01 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001154/0.4009, allocations: 0.7469 MB / 1.011 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.853e-06/0.4009, allocations: 3.938 kB / 1.011 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001463/0.4024, allocations: 0.5653 MB / 1.012 GB, free: 12.04 MB / 0.6667 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004552/0.407, allocations: 2.066 MB / 1.014 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002886/0.4099, allocations: 1.112 MB / 1.015 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4099, allocations: 0 / 1.015 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007978/0.4107, allocations: 357.7 kB / 1.015 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.4134, allocations: 0.5273 MB / 1.016 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/0.4314, allocations: 8.984 MB / 1.025 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/0.4321, allocations: 1.062 MB / 1.026 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001109/0.4332, allocations: 230.7 kB / 1.026 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.4338, allocations: 411.3 kB / 1.026 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/0.4338, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4614/0.8952, allocations: 32.97 MB / 1.058 GB, free: 149.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.8954, allocations: 299.3 kB / 1.059 GB, free: 149.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.359/4.254, allocations: 2.781 kB / 1.059 GB, free: 149.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)