Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_LowTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",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.0009132/0.0009131, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005603/0.005604, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.175/2.175, allocations: 390.9 MB / 0.6664 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003068, allocations: 12 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5152/0.5155, allocations: 142.4 MB / 0.9552 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.04766/0.5632, allocations: 59.83 MB / 1.014 GB, free: 3.504 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.5764, allocations: 11.94 MB / 1.025 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.5778, allocations: 47.69 kB / 1.025 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.5791, allocations: 0.5555 MB / 1.026 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003875/0.583, allocations: 1.808 MB / 1.028 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.5853, allocations: 1.073 MB / 1.029 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003725/0.589, allocations: 3.925 MB / 1.032 GB, free: 116 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.5903, allocations: 0.9094 MB / 1.033 GB, free: 15.17 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.5922, allocations: 1.124 MB / 1.034 GB, free: 14.04 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.5933, allocations: 0.8708 MB / 1.035 GB, free: 13.17 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.5935, allocations: 44 kB / 1.035 GB, free: 13.12 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.5955, allocations: 1.325 MB / 1.037 GB, free: 11.8 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.5957, allocations: 210.8 kB / 1.037 GB, free: 11.59 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005695/0.5963, allocations: 0.6389 MB / 1.037 GB, free: 10.94 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.5985, allocations: 2.2 MB / 1.04 GB, free: 8.734 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5985, allocations: 4 kB / 1.04 GB, free: 8.73 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5985, allocations: 0 / 1.04 GB, free: 8.73 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.5985, allocations: 4 kB / 1.04 GB, free: 8.727 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00225/0.6008, allocations: 1.505 MB / 1.041 GB, free: 7.164 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.6008, allocations: 12.03 kB / 1.041 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.6009, allocations: 123 kB / 1.041 GB, free: 7.023 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.603, allocations: 478.6 kB / 1.042 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.6047, allocations: 1.128 MB / 1.043 GB, free: 5.367 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003322/0.605, allocations: 137.9 kB / 1.043 GB, free: 5.234 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.6051, allocations: 80 kB / 1.043 GB, free: 5.156 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.607, allocations: 1.028 MB / 1.044 GB, free: 4.082 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.607, allocations: 0 / 1.044 GB, free: 4.082 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.522e-05/0.6071, allocations: 32 kB / 1.044 GB, free: 4.051 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.6071, allocations: 20 kB / 1.044 GB, free: 4.031 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.6094, allocations: 0.9601 MB / 1.045 GB, free: 3.07 MB / 0.795 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.005297/0.6147, allocations: 4.903 MB / 1.05 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/0.6182, allocations: 0.913 MB / 1.051 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007646/0.6189, allocations: 342.4 kB / 1.051 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005043/0.6194, allocations: 0.9064 MB / 1.052 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.6195, allocations: 38.56 kB / 1.052 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 1.693e-06/0.6195, allocations: 0 / 1.052 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.008567/0.6281, allocations: 2.22 MB / 1.054 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.6281, allocations: 55.41 kB / 1.054 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.6294, allocations: 1.063 MB / 1.055 GB, free: 8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.6295, allocations: 37.7 kB / 1.055 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/0.6298, allocations: 0.5391 MB / 1.056 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.6299, allocations: 149.8 kB / 1.056 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.281e-05/0.63, allocations: 49.69 kB / 1.056 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.6301, allocations: 325.9 kB / 1.056 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009378/0.631, allocations: 348.9 kB / 1.057 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.6321, allocations: 0.5607 MB / 1.057 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.6338, allocations: 0.7764 MB / 1.058 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.6339, allocations: 4 kB / 1.058 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002599/0.6365, allocations: 1.094 MB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.6366, allocations: 213.1 kB / 1.059 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.6366, allocations: 7.938 kB / 1.059 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.6378, allocations: 336.5 kB / 1.059 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.6383, allocations: 131.8 kB / 1.06 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.6397, allocations: 0.9482 MB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.6408, allocations: 199.3 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.6409, allocations: 32.08 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.36e-06/0.6409, allocations: 0 / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002433/0.6433, allocations: 0.9573 MB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6433, allocations: 8 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.6444, allocations: 320.7 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.6449, allocations: 135.8 kB / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.6462, allocations: 0.9442 MB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.6472, allocations: 175.3 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.6473, allocations: 27.98 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0003491/0.6476, allocations: 358.8 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.6478, allocations: 106.7 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003748/0.6515, allocations: 1.252 MB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.6516, allocations: 11.92 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6516, allocations: 0 / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6516, allocations: 96 / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004837/0.6564, allocations: 2.343 MB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.6564, allocations: 288 / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.6567, allocations: 87.88 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009398/0.6577, allocations: 318.9 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.6577, allocations: 12 kB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.6591, allocations: 0.9737 MB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6591, allocations: 4 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003566/0.6627, allocations: 1.318 MB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.663, allocations: 287.4 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.6631, allocations: 8 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008586/0.664, allocations: 119.9 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.664, allocations: 39.83 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.6641, allocations: 27.98 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009566/0.6651, allocations: 0.7471 MB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.6651, allocations: 0 / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001194/0.6663, allocations: 0.573 MB / 1.072 GB, free: 6.66 MB / 0.8262 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 (34): * Single equations (assignments): 29 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004351/0.6706, allocations: 2.13 MB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002998/0.6736, allocations: 1.238 MB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6737, allocations: 0 / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009077/0.6746, allocations: 398.4 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.677, allocations: 0.5027 MB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/0.6939, allocations: 9.358 MB / 1.085 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.6944, allocations: 1.069 MB / 1.086 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007466/0.6952, allocations: 217.2 kB / 1.086 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/0.6956, allocations: 411.3 kB / 1.087 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.6956, allocations: 0 / 1.087 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.386/4.082, allocations: 32.39 MB / 1.118 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/4.082, allocations: 292.5 kB / 1.118 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.363/7.445, allocations: 0 / 1.118 GB, free: 6.578 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)