Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.08 kB / 0.5053 GB, free: 5.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1854, allocations: 80.93 MB / 0.5844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.3606/0.5461, allocations: 61.18 MB / 0.6441 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.5607, allocations: 11.98 MB / 0.6558 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.5631, allocations: 60.16 kB / 0.6559 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.565, allocations: 0.6791 MB / 0.6565 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006229/0.5713, allocations: 1.97 MB / 0.6584 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.5745, allocations: 1.19 MB / 0.6596 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00444/0.5789, allocations: 3.067 MB / 0.6626 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.5809, allocations: 1.103 MB / 0.6637 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004019/0.5849, allocations: 1.337 MB / 0.665 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.5869, allocations: 0.8951 MB / 0.6659 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002665/0.5872, allocations: 115.3 kB / 0.666 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.591, allocations: 1.455 MB / 0.6674 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.5914, allocations: 292.2 kB / 0.6677 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.5925, allocations: 0.6949 MB / 0.6684 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004998/0.5975, allocations: 2.292 MB / 0.6706 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.5975, allocations: 0 / 0.6706 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.906e-06/0.5976, allocations: 0.8438 kB / 0.6706 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.025e-05/0.5976, allocations: 1.219 kB / 0.6706 GB, free: 1.125 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.003846/0.6014, allocations: 1.729 MB / 0.6723 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.6015, allocations: 13.34 kB / 0.6723 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/0.6034, allocations: 339 kB / 0.6726 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.6059, allocations: 1.104 MB / 0.6737 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003982/0.6063, allocations: 118.6 kB / 0.6738 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.6065, allocations: 79.62 kB / 0.6739 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.6086, allocations: 0.9766 MB / 0.6748 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.6087, allocations: 5.094 kB / 0.6748 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.987e-05/0.6087, allocations: 31.94 kB / 0.6749 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.6088, allocations: 19.91 kB / 0.6749 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.611, allocations: 0.8076 MB / 0.6757 GB, free: 14.31 MB / 0.5137 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.007615/0.6186, allocations: 5.181 MB / 0.6807 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.6204, allocations: 0.569 MB / 0.6813 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006796/0.6211, allocations: 266.6 kB / 0.6815 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/0.6226, allocations: 1.364 MB / 0.6829 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.6227, allocations: 41.25 kB / 0.6829 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.6227, allocations: 4 kB / 0.6829 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.009116/0.6318, allocations: 1.82 MB / 0.6847 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.6319, allocations: 56.16 kB / 0.6848 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/0.6339, allocations: 1.079 MB / 0.6858 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.634, allocations: 36.36 kB / 0.6858 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/0.6345, allocations: 0.5313 MB / 0.6864 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.6347, allocations: 154.6 kB / 0.6865 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.635, allocations: 130.6 kB / 0.6866 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6351, allocations: 326.6 kB / 0.6869 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008491/0.636, allocations: 282.2 kB / 0.6872 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.6372, allocations: 0.5048 MB / 0.6877 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.639, allocations: 0.6707 MB / 0.6884 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.639, allocations: 1.562 kB / 0.6884 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003424/0.6424, allocations: 0.9683 MB / 0.6893 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.6425, allocations: 10.03 kB / 0.6893 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.6425, allocations: 9.5 kB / 0.6893 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.6442, allocations: 321.4 kB / 0.6896 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.6448, allocations: 117.9 kB / 0.6897 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.6468, allocations: 0.9139 MB / 0.6906 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.6483, allocations: 149.9 kB / 0.6908 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.6484, allocations: 39.36 kB / 0.6908 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001273/0.6497, allocations: 490.1 kB / 0.6913 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00104/0.6507, allocations: 0.4988 MB / 0.6918 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001564/0.6523, allocations: 0.6574 MB / 0.6924 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.627e-06/0.6523, allocations: 4.172 kB / 0.6924 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002896/0.6552, allocations: 0.9576 MB / 0.6934 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.6553, allocations: 8.219 kB / 0.6934 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.6553, allocations: 8.688 kB / 0.6934 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.6567, allocations: 314 kB / 0.6937 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.6572, allocations: 119.6 kB / 0.6938 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.659, allocations: 0.9089 MB / 0.6947 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.6605, allocations: 137.8 kB / 0.6948 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.6606, allocations: 32.02 kB / 0.6948 GB, free: 2.301 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0003228/0.6609, allocations: 221 kB / 0.695 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/0.6613, allocations: 111.5 kB / 0.6952 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004215/0.6656, allocations: 1.073 MB / 0.6962 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.6656, allocations: 11.09 kB / 0.6962 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.6656, allocations: 3.047 kB / 0.6962 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.6656, allocations: 1.094 kB / 0.6962 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006071/0.6717, allocations: 2.065 MB / 0.6982 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.6717, allocations: 2.469 kB / 0.6982 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.672, allocations: 54.86 kB / 0.6983 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.6731, allocations: 308.6 kB / 0.6986 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/0.6731, allocations: 15.58 kB / 0.6986 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.6748, allocations: 0.9512 MB / 0.6995 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.6748, allocations: 2.188 kB / 0.6995 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003822/0.6786, allocations: 1.107 MB / 0.7006 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007565/0.6794, allocations: 264.6 kB / 0.7009 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000373/0.6798, allocations: 13.41 kB / 0.7009 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.6808, allocations: 65.64 kB / 0.7009 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.6809, allocations: 43.95 kB / 0.701 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.681, allocations: 23.39 kB / 0.701 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001573/0.6826, allocations: 0.752 MB / 0.7017 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6826, allocations: 0 / 0.7017 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002494/0.6851, allocations: 0.5814 MB / 0.7023 GB, free: 14.74 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.001211/0.6863, allocations: 404.9 kB / 0.7027 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003332/0.6897, allocations: 1.064 MB / 0.7037 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.6897, allocations: 0 / 0.7037 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008668/0.6906, allocations: 316.8 kB / 0.704 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/0.6937, allocations: 0.5164 MB / 0.7045 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.6977, allocations: 1.833 MB / 0.7063 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000729/0.6985, allocations: 1.062 MB / 0.7074 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001085/0.6996, allocations: 219 kB / 0.7076 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.6998, allocations: 74.64 kB / 0.7076 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of SimCode: time 2.164e-06/0.6998, allocations: 0 / 0.7076 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of Templates: time 0.04325/0.7431, allocations: 25.17 MB / 0.7322 GB, free: 4.621 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)