Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.679/2.679, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001537/0.001537, allocations: 177 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001099/0.001099, allocations: 91.14 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007598/0.00076, allocations: 16.83 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.221, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.07165/0.2927, allocations: 51.36 MB / 1.028 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02253/0.3153, allocations: 10.22 MB / 1.038 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.3176, allocations: 51.69 kB / 1.038 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.3208, allocations: 0.6219 MB / 1.039 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008745/0.3296, allocations: 1.906 MB / 1.041 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006249/0.3359, allocations: 1.329 MB / 1.042 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005191/0.3411, allocations: 1.839 MB / 1.044 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.3433, allocations: 0.8056 MB / 1.045 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/0.3469, allocations: 0.9925 MB / 1.046 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.3488, allocations: 0.5988 MB / 1.046 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003346/0.3492, allocations: 44 kB / 1.046 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004091/0.3533, allocations: 1.01 MB / 1.047 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006245/0.354, allocations: 199.1 kB / 1.048 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006882/0.3547, allocations: 285 kB / 1.048 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003942/0.3586, allocations: 1.598 MB / 1.049 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3587, allocations: 4 kB / 1.049 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.976e-06/0.3587, allocations: 0 / 1.049 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.812e-05/0.3588, allocations: 0 / 1.049 GB, free: 3.266 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.004643/0.3634, allocations: 1.493 MB / 1.051 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.3635, allocations: 8.031 kB / 1.051 GB, free: 1.707 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003625/0.3639, allocations: 118.7 kB / 1.051 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/0.367, allocations: 394 kB / 1.051 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/0.3704, allocations: 1.055 MB / 1.052 GB, free: 84 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007148/0.3712, allocations: 133.9 kB / 1.053 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.3714, allocations: 80 kB / 1.053 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003354/0.3748, allocations: 0.9605 MB / 1.054 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.3749, allocations: 0 / 1.054 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.375, allocations: 32 kB / 1.054 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.3751, allocations: 23.94 kB / 1.054 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003937/0.379, allocations: 0.8627 MB / 1.054 GB, free: 13.96 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.01087/0.3899, allocations: 4.548 MB / 1.059 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/0.3931, allocations: 0.6415 MB / 1.06 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002207/0.3953, allocations: 1.396 MB / 1.061 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/0.3954, allocations: 42.94 kB / 1.061 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.546e-06/0.3954, allocations: 0 / 1.061 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.01932/0.4148, allocations: 1.885 MB / 1.063 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.4149, allocations: 55.84 kB / 1.063 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/0.4189, allocations: 1.071 MB / 1.064 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.4192, allocations: 37.7 kB / 1.064 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008789/0.4201, allocations: 0.5235 MB / 1.064 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.4205, allocations: 165.7 kB / 1.065 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.509e-05/0.4206, allocations: 8 kB / 1.065 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.4207, allocations: 337.9 kB / 1.065 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/0.4229, allocations: 296.9 kB / 1.065 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002669/0.4256, allocations: 492.2 kB / 1.066 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.4281, allocations: 336.5 kB / 1.066 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.4281, allocations: 0 / 1.066 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.009236/0.4374, allocations: 1.163 MB / 1.067 GB, free: 220 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.6515/1.089, allocations: 1.41 MB / 1.068 GB, free: 89.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/1.089, allocations: 3.812 kB / 1.068 GB, free: 89.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00248/1.092, allocations: 329.8 kB / 1.069 GB, free: 89.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/1.093, allocations: 120.2 kB / 1.069 GB, free: 89.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/1.095, allocations: 0.939 MB / 1.07 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/1.098, allocations: 183.8 kB / 1.07 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/1.098, allocations: 33.19 kB / 1.07 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.098, allocations: 3.094 kB / 1.07 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006121/1.104, allocations: 1.038 MB / 1.071 GB, free: 88.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/1.104, allocations: 4.375 kB / 1.071 GB, free: 88.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/1.106, allocations: 322.1 kB / 1.071 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.107, allocations: 120.7 kB / 1.071 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/1.11, allocations: 0.9303 MB / 1.072 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/1.112, allocations: 164.3 kB / 1.073 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/1.112, allocations: 29.2 kB / 1.073 GB, free: 87.82 MB / 0.6823 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.000792/1.113, allocations: 354.4 kB / 1.073 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/1.113, allocations: 110.8 kB / 1.073 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00717/1.121, allocations: 1.197 MB / 1.074 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.454e-05/1.121, allocations: 5.734 kB / 1.074 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.121, allocations: 1.75 kB / 1.074 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/1.121, allocations: 10.52 kB / 1.074 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009664/1.13, allocations: 2.225 MB / 1.076 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/1.13, allocations: 2.844 kB / 1.076 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/1.131, allocations: 65.73 kB / 1.076 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002074/1.133, allocations: 332 kB / 1.077 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/1.133, allocations: 13.56 kB / 1.077 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002744/1.136, allocations: 0.9757 MB / 1.078 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.136, allocations: 6.406 kB / 1.078 GB, free: 85.49 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006834/1.143, allocations: 1.352 MB / 1.079 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008925/1.144, allocations: 288.4 kB / 1.079 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/1.144, allocations: 17.81 kB / 1.079 GB, free: 84.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.146, allocations: 103.3 kB / 1.079 GB, free: 84.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/1.146, allocations: 34.94 kB / 1.079 GB, free: 84.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.461e-05/1.146, allocations: 22.56 kB / 1.079 GB, free: 84.56 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002059/1.148, allocations: 0.7512 MB / 1.08 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.21e-07/1.148, allocations: 0 / 1.08 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00279/1.151, allocations: 0.5755 MB / 1.081 GB, free: 84.14 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008145/1.159, allocations: 2.807 MB / 1.084 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005449/1.165, allocations: 1.102 MB / 1.085 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.165, allocations: 1.375 kB / 1.085 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/1.166, allocations: 359.7 kB / 1.085 GB, free: 81.87 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004694/1.171, allocations: 0.5129 MB / 1.085 GB, free: 81.74 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007973/1.179, allocations: 5.217 MB / 1.091 GB, free: 77.61 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000852/1.18, allocations: 1.086 MB / 1.092 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001831/1.182, allocations: 228.1 kB / 1.092 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000869/1.183, allocations: 411.2 kB / 1.092 GB, free: 76.53 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/1.183, allocations: 0 / 1.092 GB, free: 76.53 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09886/1.282, allocations: 33.91 MB / 1.125 GB, free: 59.85 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/1.282, allocations: 261.8 kB / 1.126 GB, free: 59.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.957/5.239, allocations: 3.438 kB / 1.126 GB, free: 59.5 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)