Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008334/0.0008334, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005364/0.0005367, allocations: 17.5 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2493, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05358/0.3029, allocations: 56.55 MB / 0.8426 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.3187, allocations: 11.13 MB / 0.8535 GB, free: 7.988 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.3209, allocations: 55.62 kB / 0.8535 GB, free: 7.934 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.3227, allocations: 468.8 kB / 0.854 GB, free: 7.473 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005893/0.3286, allocations: 1.515 MB / 0.8555 GB, free: 5.953 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.3315, allocations: 0.8719 MB / 0.8563 GB, free: 5.086 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004391/0.3359, allocations: 3.383 MB / 0.8596 GB, free: 1.691 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.3373, allocations: 0.7936 MB / 0.8604 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.3397, allocations: 1.05 MB / 0.8614 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.3411, allocations: 0.8088 MB / 0.8622 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.3412, allocations: 40 kB / 0.8623 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.3438, allocations: 1.107 MB / 0.8633 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.344, allocations: 214.9 kB / 0.8635 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004442/0.3445, allocations: 281 kB / 0.8638 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.3467, allocations: 1.652 MB / 0.8654 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3467, allocations: 0 / 0.8654 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3467, allocations: 0 / 0.8654 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.3468, allocations: 0 / 0.8654 GB, free: 11.71 MB / 0.6856 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.002612/0.3494, allocations: 1.512 MB / 0.8669 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3494, allocations: 8.031 kB / 0.8669 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.3496, allocations: 126.7 kB / 0.867 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.351, allocations: 382 kB / 0.8674 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.353, allocations: 1.094 MB / 0.8685 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003071/0.3533, allocations: 129.9 kB / 0.8686 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.3534, allocations: 80 kB / 0.8687 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.3552, allocations: 0.9644 MB / 0.8696 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.3552, allocations: 7.938 kB / 0.8696 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.3553, allocations: 32 kB / 0.8696 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.3553, allocations: 20 kB / 0.8697 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.3572, allocations: 0.8548 MB / 0.8705 GB, free: 6.352 MB / 0.6856 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.005885/0.3631, allocations: 4.528 MB / 0.8749 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.3646, allocations: 0.6338 MB / 0.8755 GB, free: 0.8711 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005928/0.3652, allocations: 307.8 kB / 0.8758 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.3665, allocations: 1.393 MB / 0.8772 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3665, allocations: 39 kB / 0.8772 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 3.507e-06/0.3665, allocations: 0 / 0.8772 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.006711/0.3733, allocations: 1.897 MB / 0.8791 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3733, allocations: 63.78 kB / 0.8791 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.3752, allocations: 1.051 MB / 0.8802 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.429e-05/0.3753, allocations: 37.7 kB / 0.8802 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004613/0.3758, allocations: 0.5158 MB / 0.8807 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.3759, allocations: 165.6 kB / 0.8809 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.376, allocations: 16 kB / 0.8809 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3761, allocations: 329.9 kB / 0.8812 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007504/0.3769, allocations: 296.9 kB / 0.8815 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009123/0.3778, allocations: 0.489 MB / 0.882 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008153/0.3786, allocations: 332.6 kB / 0.8823 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.3787, allocations: 3.984 kB / 0.8823 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003308/0.382, allocations: 1.171 MB / 0.8834 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.3821, allocations: 196.4 kB / 0.8836 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3821, allocations: 4 kB / 0.8836 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.3834, allocations: 328.5 kB / 0.8839 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.3839, allocations: 119.8 kB / 0.884 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.3853, allocations: 0.9416 MB / 0.885 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.3866, allocations: 179.2 kB / 0.8851 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.319e-05/0.3867, allocations: 39.98 kB / 0.8852 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.3867, allocations: 4 kB / 0.8852 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002891/0.3896, allocations: 1.03 MB / 0.8862 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3897, allocations: 8.062 kB / 0.8862 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.3907, allocations: 316.6 kB / 0.8865 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/0.3912, allocations: 123.8 kB / 0.8866 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.3925, allocations: 0.9386 MB / 0.8875 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.3937, allocations: 151.4 kB / 0.8877 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-05/0.3938, allocations: 35.98 kB / 0.8877 GB, free: 3.832 MB / 0.7012 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.0006318/0.3944, allocations: 356.2 kB / 0.888 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.3947, allocations: 118.6 kB / 0.8882 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003519/0.3983, allocations: 1.197 MB / 0.8893 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.3983, allocations: 7.953 kB / 0.8893 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3983, allocations: 4 kB / 0.8893 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.3983, allocations: 7.984 kB / 0.8893 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004954/0.4033, allocations: 2.212 MB / 0.8915 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.4033, allocations: 7.938 kB / 0.8915 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.4036, allocations: 59.91 kB / 0.8916 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009881/0.4046, allocations: 332.8 kB / 0.8919 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.4046, allocations: 12 kB / 0.8919 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.406, allocations: 0.9699 MB / 0.8928 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.406, allocations: 0 / 0.8928 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.4093, allocations: 1.243 MB / 0.8941 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/0.4099, allocations: 279.4 kB / 0.8943 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.4102, allocations: 16 kB / 0.8943 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009388/0.4111, allocations: 103.8 kB / 0.8944 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.4112, allocations: 35.95 kB / 0.8945 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.334e-05/0.4113, allocations: 27.97 kB / 0.8945 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001373/0.4127, allocations: 0.7352 MB / 0.8952 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4127, allocations: 0 / 0.8952 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001865/0.4145, allocations: 0.5692 MB / 0.8958 GB, free: 11.36 MB / 0.7169 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.004212/0.4188, allocations: 2.074 MB / 0.8978 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002812/0.4216, allocations: 1.096 MB / 0.8989 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.4216, allocations: 0 / 0.8989 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008433/0.4225, allocations: 354.1 kB / 0.8992 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/0.4257, allocations: 0.5164 MB / 0.8997 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/0.4413, allocations: 6.523 MB / 0.9061 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009779/0.4424, allocations: 1.07 MB / 0.9071 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001335/0.4437, allocations: 231.9 kB / 0.9073 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000663/0.4444, allocations: 411.3 kB / 0.9077 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of SimCode: time 2.114e-06/0.4444, allocations: 0 / 0.9077 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.454/0.8985, allocations: 34.18 MB / 0.9411 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.8987, allocations: 265.9 kB / 0.9414 GB, free: 128.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.526, allocations: 0 / 0.9414 GB, free: 128.1 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: