Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="IDEAS_IDEAS_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.0008624/0.0008625, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005407/0.005407, allocations: 172.3 kB / 16.26 MB, free: 6.676 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.377/1.377, allocations: 223.2 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7702/0.7702, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 8 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4024, allocations: 81.57 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05808/0.4605, allocations: 59.75 MB / 0.6421 GB, free: 4.504 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0163/0.4769, allocations: 11.89 MB / 0.6537 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.479, allocations: 55.62 kB / 0.6538 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.4808, allocations: 0.5477 MB / 0.6543 GB, free: 7.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005254/0.4861, allocations: 1.803 MB / 0.6561 GB, free: 6.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.489, allocations: 1.087 MB / 0.6571 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004674/0.4937, allocations: 3.9 MB / 0.6609 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.4951, allocations: 0.902 MB / 0.6618 GB, free: 256 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.4973, allocations: 1.127 MB / 0.6629 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.4986, allocations: 0.8553 MB / 0.6637 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.4987, allocations: 43.98 kB / 0.6638 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.5012, allocations: 1.349 MB / 0.6651 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.5015, allocations: 210.9 kB / 0.6653 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000689/0.5022, allocations: 0.6233 MB / 0.6659 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002875/0.5051, allocations: 2.216 MB / 0.6681 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5051, allocations: 0 / 0.6681 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5051, allocations: 0 / 0.6681 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.5051, allocations: 0 / 0.6681 GB, free: 9.801 MB / 0.4981 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.002583/0.5077, allocations: 1.485 MB / 0.6695 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.5078, allocations: 12.03 kB / 0.6695 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.5079, allocations: 130.9 kB / 0.6697 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.5096, allocations: 390.7 kB / 0.67 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.5116, allocations: 1.124 MB / 0.6711 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003672/0.512, allocations: 125.9 kB / 0.6712 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.5121, allocations: 84 kB / 0.6713 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.514, allocations: 0.9622 MB / 0.6723 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.514, allocations: 7.938 kB / 0.6723 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/0.5141, allocations: 36 kB / 0.6723 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.5141, allocations: 16 kB / 0.6723 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.5162, allocations: 0.8509 MB / 0.6732 GB, free: 4.422 MB / 0.4981 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.005956/0.5222, allocations: 4.8 MB / 0.6778 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.5238, allocations: 0.597 MB / 0.6784 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000633/0.5244, allocations: 288.7 kB / 0.6787 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/0.5258, allocations: 1.392 MB / 0.6801 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.5258, allocations: 38.56 kB / 0.6801 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.034e-06/0.5258, allocations: 0 / 0.6801 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008829/0.5347, allocations: 2.04 MB / 0.6821 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.5347, allocations: 55.41 kB / 0.6821 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.5364, allocations: 1.063 MB / 0.6832 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.199e-05/0.5364, allocations: 41.64 kB / 0.6832 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.5369, allocations: 0.5196 MB / 0.6837 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.537, allocations: 153.8 kB / 0.6839 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.5371, allocations: 53.62 kB / 0.6839 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5372, allocations: 329.9 kB / 0.6842 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000791/0.538, allocations: 284.9 kB / 0.6845 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000957/0.539, allocations: 498.9 kB / 0.685 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.5404, allocations: 0.6589 MB / 0.6856 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.5404, allocations: 0 / 0.6856 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002627/0.5431, allocations: 0.9765 MB / 0.6866 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.5432, allocations: 200.4 kB / 0.6868 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.5432, allocations: 8 kB / 0.6868 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.5446, allocations: 340.6 kB / 0.6871 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.5451, allocations: 115.8 kB / 0.6872 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.5466, allocations: 0.9348 MB / 0.6881 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.548, allocations: 191.2 kB / 0.6883 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/0.548, allocations: 24 kB / 0.6883 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.5481, allocations: 4 kB / 0.6883 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002219/0.5503, allocations: 0.8554 MB / 0.6892 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.5503, allocations: 4 kB / 0.6892 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.5515, allocations: 327.7 kB / 0.6895 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.5519, allocations: 111.8 kB / 0.6896 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.5534, allocations: 0.9348 MB / 0.6905 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.5546, allocations: 159.4 kB / 0.6907 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/0.5547, allocations: 27.98 kB / 0.6907 GB, free: 1.441 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0005194/0.5552, allocations: 352.9 kB / 0.691 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.5553, allocations: 110.6 kB / 0.6911 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/0.5592, allocations: 1.147 MB / 0.6923 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.5592, allocations: 15.92 kB / 0.6923 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.5592, allocations: 7.938 kB / 0.6923 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5593, allocations: 0 / 0.6923 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004983/0.5642, allocations: 2.151 MB / 0.6944 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.5643, allocations: 4 kB / 0.6944 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.5645, allocations: 59.91 kB / 0.6944 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.5656, allocations: 334.8 kB / 0.6948 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.5657, allocations: 15.92 kB / 0.6948 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.5673, allocations: 0.9706 MB / 0.6957 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.5673, allocations: 11.92 kB / 0.6957 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003734/0.571, allocations: 1.191 MB / 0.6969 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00064/0.5717, allocations: 279.4 kB / 0.6972 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/0.5719, allocations: 12 kB / 0.6972 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.573, allocations: 103.8 kB / 0.6973 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/0.5731, allocations: 43.81 kB / 0.6973 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.5731, allocations: 19.94 kB / 0.6973 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001329/0.5745, allocations: 0.7467 MB / 0.6981 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5745, allocations: 0 / 0.6981 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00184/0.5763, allocations: 0.5691 MB / 0.6986 GB, free: 9.121 MB / 0.5294 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 (33): * Single equations (assignments): 28 * 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.004742/0.5811, allocations: 2.01 MB / 0.7006 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003047/0.5841, allocations: 1.061 MB / 0.7016 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.5842, allocations: 0 / 0.7016 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008983/0.5851, allocations: 341.4 kB / 0.7019 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/0.5887, allocations: 0.4909 MB / 0.7024 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/0.6067, allocations: 8.735 MB / 0.711 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007111/0.6075, allocations: 1.065 MB / 0.712 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001037/0.6085, allocations: 221.3 kB / 0.7122 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005774/0.6091, allocations: 407.3 kB / 0.7126 GB, free: 10.33 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/0.6092, allocations: 0 / 0.7126 GB, free: 10.33 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07384/0.683, allocations: 32.28 MB / 0.7441 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/0.6833, allocations: 280.2 kB / 0.7444 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.311, allocations: 0 / 0.7444 GB, free: 10.21 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)