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.412/1.412, allocations: 251.9 MB / 266.9 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.0011/0.0011, allocations: 184 kB / 326.5 MB, free: 2.258 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.769/1.769, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009204/0.0009204, allocations: 90.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003717, allocations: 9.625 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2302, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.03915/0.2694, allocations: 51.35 MB / 0.9503 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01307/0.2825, allocations: 10.21 MB / 0.9603 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.2848, allocations: 47.62 kB / 0.9603 GB, free: 2.109 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.2872, allocations: 0.6335 MB / 0.9609 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006409/0.2936, allocations: 1.897 MB / 0.9628 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004133/0.2978, allocations: 1.238 MB / 0.964 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004222/0.302, allocations: 1.842 MB / 0.9658 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.3036, allocations: 0.8057 MB / 0.9666 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.306, allocations: 0.9808 MB / 0.9675 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.3073, allocations: 0.6027 MB / 0.9681 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.3074, allocations: 48 kB / 0.9682 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.31, allocations: 0.9985 MB / 0.9691 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.3102, allocations: 195.1 kB / 0.9693 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005164/0.3108, allocations: 285.1 kB / 0.9696 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.3134, allocations: 1.59 MB / 0.9712 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3134, allocations: 0 / 0.9712 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.605e-06/0.3135, allocations: 0 / 0.9712 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.211e-05/0.3135, allocations: 3.938 kB / 0.9712 GB, free: 6.961 MB / 0.6198 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.002991/0.3165, allocations: 1.489 MB / 0.9726 GB, free: 5.414 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.3166, allocations: 12.03 kB / 0.9726 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.3167, allocations: 126.7 kB / 0.9727 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.3184, allocations: 386 kB / 0.9731 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/0.3208, allocations: 1.043 MB / 0.9741 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003667/0.3212, allocations: 133.9 kB / 0.9743 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.3214, allocations: 80 kB / 0.9743 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.3233, allocations: 0.9605 MB / 0.9753 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.3234, allocations: 0 / 0.9753 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/0.3234, allocations: 32 kB / 0.9753 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.3235, allocations: 23.94 kB / 0.9753 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.3256, allocations: 0.8588 MB / 0.9762 GB, free: 1.668 MB / 0.6198 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.006889/0.3325, allocations: 4.567 MB / 0.9806 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.3342, allocations: 0.6532 MB / 0.9813 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/0.3356, allocations: 1.393 MB / 0.9826 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.3356, allocations: 39 kB / 0.9827 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 3.347e-06/0.3356, allocations: 0 / 0.9827 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.007727/0.3434, allocations: 1.897 MB / 0.9845 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3435, allocations: 59.78 kB / 0.9846 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.3453, allocations: 1.075 MB / 0.9856 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.3454, allocations: 37.7 kB / 0.9857 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004701/0.3459, allocations: 0.5158 MB / 0.9862 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.3461, allocations: 165.6 kB / 0.9863 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.3461, allocations: 8 kB / 0.9863 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3463, allocations: 330 kB / 0.9866 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007972/0.3471, allocations: 292.9 kB / 0.9869 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009579/0.3481, allocations: 0.4962 MB / 0.9874 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008283/0.3489, allocations: 324.6 kB / 0.9877 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.3489, allocations: 0 / 0.9877 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003639/0.3526, allocations: 1.174 MB / 0.9889 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005292/0.3531, allocations: 1.407 MB / 0.9902 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.3532, allocations: 8 kB / 0.9902 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.3545, allocations: 330.1 kB / 0.9906 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.355, allocations: 123.8 kB / 0.9907 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.3567, allocations: 0.9409 MB / 0.9916 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.3581, allocations: 187.2 kB / 0.9918 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.3583, allocations: 27.98 kB / 0.9918 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3583, allocations: 6.344 kB / 0.9918 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003279/0.3616, allocations: 1.03 MB / 0.9928 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3616, allocations: 4 kB / 0.9928 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.3628, allocations: 320.7 kB / 0.9931 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/0.3633, allocations: 123.8 kB / 0.9932 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.3648, allocations: 0.927 MB / 0.9941 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.3662, allocations: 163.3 kB / 0.9943 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.483e-05/0.3663, allocations: 35.94 kB / 0.9943 GB, free: 14.11 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 (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.0006659/0.3669, allocations: 356.9 kB / 0.9947 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/0.3672, allocations: 106.7 kB / 0.9948 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/0.3711, allocations: 1.193 MB / 0.9959 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.3711, allocations: 8 kB / 0.9959 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3711, allocations: 0 / 0.9959 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.3711, allocations: 7.938 kB / 0.996 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005413/0.3765, allocations: 2.227 MB / 0.9981 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.3766, allocations: 4 kB / 0.9981 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.3769, allocations: 63.89 kB / 0.9982 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.378, allocations: 324.9 kB / 0.9985 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.3781, allocations: 19.98 kB / 0.9985 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.3797, allocations: 0.9775 MB / 0.9995 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.3797, allocations: 3.938 kB / 0.9995 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003893/0.3836, allocations: 1.354 MB / 1.001 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008255/0.3845, allocations: 287.5 kB / 1.001 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.3847, allocations: 20 kB / 1.001 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008665/0.3856, allocations: 95.84 kB / 1.001 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3857, allocations: 39.95 kB / 1.001 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.3857, allocations: 23.98 kB / 1.001 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001338/0.3871, allocations: 0.7547 MB / 1.002 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3e-07/0.3871, allocations: 0 / 1.002 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001794/0.3889, allocations: 0.5692 MB / 1.003 GB, free: 5.445 MB / 0.6511 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.005053/0.394, allocations: 2.785 MB / 1.005 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003109/0.3971, allocations: 1.1 MB / 1.006 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.3972, allocations: 4 kB / 1.006 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008592/0.398, allocations: 353.7 kB / 1.007 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/0.4008, allocations: 0.5191 MB / 1.007 GB, free: 0.6172 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006217/0.407, allocations: 5.222 MB / 1.012 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007131/0.4078, allocations: 1.085 MB / 1.013 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001351/0.4092, allocations: 230.6 kB / 1.014 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00059/0.4098, allocations: 419.3 kB / 1.014 GB, free: 9.492 MB / 0.6667 GB Notification: Performance of SimCode: time 1.183e-06/0.4098, allocations: 0 / 1.014 GB, free: 9.492 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06513/0.4749, allocations: 33.81 MB / 1.047 GB, free: 8.062 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.4752, allocations: 270.2 kB / 1.047 GB, free: 7.707 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/3.428, allocations: 0 / 1.047 GB, free: 7.707 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)