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.393/1.393, allocations: 252 MB / 267.3 MB, free: 10.85 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.001128/0.001128, allocations: 181.4 kB / 327 MB, free: 2.098 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.737/1.737, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0008035/0.0008038, allocations: 93.55 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003528, allocations: 13.03 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2297, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04857/0.2783, allocations: 59.78 MB / 0.9593 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01661/0.295, allocations: 11.79 MB / 0.9708 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/0.2974, allocations: 47.69 kB / 0.9709 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.2996, allocations: 0.5477 MB / 0.9714 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00619/0.3058, allocations: 1.785 MB / 0.9731 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.3093, allocations: 1.102 MB / 0.9742 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005653/0.315, allocations: 3.894 MB / 0.978 GB, free: 216 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.3171, allocations: 0.898 MB / 0.9789 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.3206, allocations: 1.124 MB / 0.98 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.3228, allocations: 0.867 MB / 0.9808 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003297/0.3232, allocations: 48 kB / 0.9809 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/0.3265, allocations: 1.314 MB / 0.9822 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.3268, allocations: 218.9 kB / 0.9824 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009387/0.3278, allocations: 0.6311 MB / 0.983 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.3309, allocations: 2.204 MB / 0.9851 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.331, allocations: 0 / 0.9851 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.331, allocations: 0 / 0.9851 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.331, allocations: 4 kB / 0.9851 GB, free: 8.848 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.002717/0.3337, allocations: 1.497 MB / 0.9866 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3338, allocations: 8.031 kB / 0.9866 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.3339, allocations: 118.9 kB / 0.9867 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.3356, allocations: 391 kB / 0.9871 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.3376, allocations: 1.124 MB / 0.9882 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000341/0.338, allocations: 133.9 kB / 0.9883 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.3381, allocations: 80 kB / 0.9884 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.3401, allocations: 0.9683 MB / 0.9893 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.3401, allocations: 3.938 kB / 0.9894 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/0.3402, allocations: 32 kB / 0.9894 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.3402, allocations: 20 kB / 0.9894 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.3423, allocations: 0.8627 MB / 0.9902 GB, free: 3.461 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.006283/0.3486, allocations: 4.568 MB / 0.9947 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.3503, allocations: 0.6376 MB / 0.9953 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000662/0.351, allocations: 302 kB / 0.9956 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.3524, allocations: 1.393 MB / 0.997 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.3525, allocations: 39 kB / 0.997 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 3.636e-06/0.3525, allocations: 3.984 kB / 0.997 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47): time 0.007933/0.3604, allocations: 1.908 MB / 0.9989 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.3605, allocations: 55.84 kB / 0.9989 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.3623, allocations: 1.063 MB / 1 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.647e-05/0.3624, allocations: 37.7 kB / 1 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/0.3629, allocations: 0.5196 MB / 1.001 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.363, allocations: 157.8 kB / 1.001 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.3631, allocations: 16 kB / 1.001 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3632, allocations: 326 kB / 1.001 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008142/0.364, allocations: 300.9 kB / 1.001 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.3651, allocations: 0.5 MB / 1.002 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.3666, allocations: 0.67 MB / 1.002 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3666, allocations: 0 / 1.002 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003553/0.3702, allocations: 1.186 MB / 1.004 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.3703, allocations: 200.3 kB / 1.004 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.3703, allocations: 4 kB / 1.004 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.3716, allocations: 325.9 kB / 1.004 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.3721, allocations: 119.8 kB / 1.004 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.3737, allocations: 0.9464 MB / 1.005 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.375, allocations: 187.1 kB / 1.005 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/0.3751, allocations: 27.98 kB / 1.005 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.3751, allocations: 8 kB / 1.005 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003142/0.3783, allocations: 1.03 MB / 1.006 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3783, allocations: 8.344 kB / 1.006 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.3794, allocations: 319.7 kB / 1.007 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004956/0.3799, allocations: 127.8 kB / 1.007 GB, free: 1.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.3814, allocations: 0.9309 MB / 1.008 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.3827, allocations: 167.2 kB / 1.008 GB, free: 488 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.976e-05/0.3827, allocations: 31.98 kB / 1.008 GB, free: 456 kB / 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.0006218/0.3834, allocations: 345 kB / 1.008 GB, free: 100 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.3836, allocations: 110.8 kB / 1.008 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/0.3874, allocations: 1.194 MB / 1.009 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.3875, allocations: 19.92 kB / 1.009 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.3875, allocations: 3.938 kB / 1.01 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3875, allocations: 7.938 kB / 1.01 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005115/0.3926, allocations: 2.212 MB / 1.012 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.3927, allocations: 0 / 1.012 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.3929, allocations: 59.91 kB / 1.012 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/0.394, allocations: 339.4 kB / 1.012 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.3941, allocations: 23.98 kB / 1.012 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.3956, allocations: 0.9737 MB / 1.013 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3956, allocations: 0 / 1.013 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003637/0.3993, allocations: 1.247 MB / 1.014 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006371/0.3999, allocations: 279.4 kB / 1.015 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.4001, allocations: 12 kB / 1.015 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000874/0.401, allocations: 103.8 kB / 1.015 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.4011, allocations: 35.94 kB / 1.015 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.4011, allocations: 23.98 kB / 1.015 GB, free: 9.277 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001201/0.4024, allocations: 0.7469 MB / 1.015 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4024, allocations: 0 / 1.015 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001508/0.4039, allocations: 0.5692 MB / 1.016 GB, free: 7.953 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.004604/0.4085, allocations: 2.065 MB / 1.018 GB, free: 5.84 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002935/0.4114, allocations: 1.108 MB / 1.019 GB, free: 4.738 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.4115, allocations: 0 / 1.019 GB, free: 4.738 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008254/0.4123, allocations: 353.7 kB / 1.019 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/0.4153, allocations: 0.5369 MB / 1.02 GB, free: 3.863 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/0.4325, allocations: 8.821 MB / 1.029 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.4332, allocations: 1.066 MB / 1.03 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001131/0.4344, allocations: 228.5 kB / 1.03 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005754/0.435, allocations: 411.3 kB / 1.03 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of SimCode: time 8.91e-07/0.435, allocations: 0 / 1.03 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4687/0.9037, allocations: 32.97 MB / 1.062 GB, free: 148 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.9039, allocations: 297.9 kB / 1.063 GB, free: 147.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.313/4.217, allocations: 0.5938 kB / 1.063 GB, free: 147.6 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)