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_LowTemperature.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_LowTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 251.5 MB / 266.7 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.00129/0.001291, allocations: 172.2 kB / 325.8 MB, free: 2.699 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.846/1.846, allocations: 205 MB / 0.576 GB, free: 20.97 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.0007492/0.0007492, allocations: 89.47 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.00045, allocations: 12.47 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2614, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06433/0.3258, allocations: 60.62 MB / 0.9554 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02093/0.3468, allocations: 11.93 MB / 0.967 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/0.35, allocations: 51.69 kB / 0.9671 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002812/0.3528, allocations: 0.5516 MB / 0.9676 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008056/0.3609, allocations: 1.795 MB / 0.9694 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004771/0.3657, allocations: 1.107 MB / 0.9705 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007061/0.3728, allocations: 3.898 MB / 0.9743 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.3753, allocations: 0.9007 MB / 0.9751 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003524/0.3788, allocations: 1.135 MB / 0.9763 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/0.3811, allocations: 0.867 MB / 0.9771 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003978/0.3816, allocations: 40 kB / 0.9771 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004387/0.386, allocations: 1.298 MB / 0.9784 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005828/0.3866, allocations: 226.9 kB / 0.9786 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.3882, allocations: 0.6099 MB / 0.9792 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005351/0.3936, allocations: 2.204 MB / 0.9814 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3936, allocations: 0 / 0.9814 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.436e-06/0.3936, allocations: 0 / 0.9814 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.415e-05/0.3937, allocations: 0 / 0.9814 GB, free: 12.56 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004864/0.3986, allocations: 1.516 MB / 0.9829 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.584e-05/0.3987, allocations: 8.031 kB / 0.9829 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003858/0.3991, allocations: 119 kB / 0.983 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/0.4024, allocations: 478.8 kB / 0.9834 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003548/0.4059, allocations: 1.149 MB / 0.9846 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005158/0.4065, allocations: 133.9 kB / 0.9847 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/0.4067, allocations: 80 kB / 0.9848 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003349/0.4101, allocations: 1.031 MB / 0.9858 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.4101, allocations: 0 / 0.9858 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.4102, allocations: 32 kB / 0.9858 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.4103, allocations: 24 kB / 0.9858 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00372/0.414, allocations: 0.9797 MB / 0.9868 GB, free: 6.859 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.009158/0.4232, allocations: 4.671 MB / 0.9913 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004901/0.4281, allocations: 0.9384 MB / 0.9923 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.4293, allocations: 368.4 kB / 0.9926 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008848/0.4302, allocations: 0.9068 MB / 0.9935 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.4303, allocations: 38.94 kB / 0.9935 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 4.318e-06/0.4303, allocations: 4 kB / 0.9935 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.01242/0.4427, allocations: 2.26 MB / 0.9957 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.4428, allocations: 55.84 kB / 0.9958 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/0.4452, allocations: 1.072 MB / 0.9968 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.4454, allocations: 37.7 kB / 0.9969 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006081/0.446, allocations: 0.5236 MB / 0.9974 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.4462, allocations: 181.5 kB / 0.9976 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.4463, allocations: 45.7 kB / 0.9976 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4465, allocations: 326 kB / 0.9979 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.4479, allocations: 356.9 kB / 0.9983 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.4496, allocations: 0.5609 MB / 0.9988 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002668/0.4523, allocations: 0.7878 MB / 0.9996 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.4523, allocations: 0 / 0.9996 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005498/0.4578, allocations: 1.292 MB / 1.001 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001879/0.458, allocations: 197 kB / 1.001 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.458, allocations: 4 kB / 1.001 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/0.4598, allocations: 336.5 kB / 1.001 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008383/0.4606, allocations: 151.7 kB / 1.001 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.4627, allocations: 0.9375 MB / 1.002 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.4647, allocations: 203.2 kB / 1.003 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.4648, allocations: 27.98 kB / 1.003 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.4648, allocations: 4 kB / 1.003 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004889/0.4697, allocations: 1.135 MB / 1.004 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4698, allocations: 4.375 kB / 1.004 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.4713, allocations: 324.6 kB / 1.004 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008404/0.4722, allocations: 147.8 kB / 1.004 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.4742, allocations: 0.9386 MB / 1.005 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.4761, allocations: 187.3 kB / 1.005 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.4762, allocations: 35.98 kB / 1.005 GB, free: 2.992 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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.0008389/0.4771, allocations: 346.7 kB / 1.006 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.4774, allocations: 106.7 kB / 1.006 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005687/0.4831, allocations: 1.317 MB / 1.007 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.4831, allocations: 8 kB / 1.007 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.4831, allocations: 0 / 1.007 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.4832, allocations: 3.984 kB / 1.007 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007649/0.4908, allocations: 2.386 MB / 1.009 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.4909, allocations: 4 kB / 1.009 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/0.4914, allocations: 92.14 kB / 1.009 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001424/0.4928, allocations: 324.5 kB / 1.01 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.4929, allocations: 15.98 kB / 1.01 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.495, allocations: 0.9698 MB / 1.011 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.495, allocations: 7.938 kB / 1.011 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005444/0.5005, allocations: 1.357 MB / 1.012 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007602/0.5013, allocations: 267.5 kB / 1.012 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.5015, allocations: 16 kB / 1.012 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.5028, allocations: 127.8 kB / 1.012 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.503, allocations: 35.33 kB / 1.013 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.961e-05/0.5031, allocations: 23.98 kB / 1.013 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00168/0.5048, allocations: 0.751 MB / 1.013 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5048, allocations: 4 kB / 1.013 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002255/0.507, allocations: 0.5575 MB / 1.014 GB, free: 10.09 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 (38): * Single equations (assignments): 33 * 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.006813/0.5139, allocations: 2.172 MB / 1.016 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005058/0.519, allocations: 1.28 MB / 1.017 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.519, allocations: 0 / 1.017 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.5205, allocations: 422.7 kB / 1.018 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004435/0.525, allocations: 0.5314 MB / 1.018 GB, free: 5.648 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/0.5565, allocations: 9.639 MB / 1.028 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009234/0.5575, allocations: 1.07 MB / 1.029 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001707/0.5592, allocations: 226.4 kB / 1.029 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008044/0.56, allocations: 415.3 kB / 1.029 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/0.56, allocations: 0 / 1.029 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4618/1.022, allocations: 33.06 MB / 1.061 GB, free: 151.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/1.022, allocations: 296.4 kB / 1.062 GB, free: 151 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.127/4.15, allocations: 1.531 kB / 1.062 GB, free: 151 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)