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.001042/0.001042, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001087/0.001087, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7535/0.7535, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 56.09 kB / 0.5067 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3183, allocations: 80.91 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04763/0.366, allocations: 61.2 MB / 0.6455 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.3817, allocations: 11.98 MB / 0.6572 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.3836, allocations: 55.69 kB / 0.6573 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.3854, allocations: 0.683 MB / 0.6579 GB, free: 492 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004879/0.3903, allocations: 1.955 MB / 0.6598 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.393, allocations: 1.215 MB / 0.661 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003635/0.3967, allocations: 3.083 MB / 0.664 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.398, allocations: 1.115 MB / 0.6651 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.4007, allocations: 1.324 MB / 0.6664 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.4018, allocations: 0.8984 MB / 0.6673 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.402, allocations: 116 kB / 0.6674 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.4044, allocations: 1.458 MB / 0.6688 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.4047, allocations: 282.9 kB / 0.6691 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006414/0.4053, allocations: 0.6997 MB / 0.6698 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002806/0.4081, allocations: 2.325 MB / 0.6721 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4081, allocations: 0 / 0.6721 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4082, allocations: 0 / 0.6721 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.4082, allocations: 0 / 0.6721 GB, free: 1.953 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.002664/0.4108, allocations: 1.719 MB / 0.6737 GB, free: 176 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4109, allocations: 13.11 kB / 0.6738 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.4124, allocations: 339 kB / 0.6741 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/0.4144, allocations: 1.159 MB / 0.6752 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.4145, allocations: 69.88 kB / 0.6753 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.4146, allocations: 84 kB / 0.6754 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.4162, allocations: 0.9625 MB / 0.6763 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.4162, allocations: 3.938 kB / 0.6763 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.202e-05/0.4163, allocations: 32 kB / 0.6763 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.4163, allocations: 24 kB / 0.6764 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.4181, allocations: 0.8001 MB / 0.6771 GB, free: 12.57 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.005466/0.4236, allocations: 5.148 MB / 0.6822 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.4249, allocations: 0.5585 MB / 0.6827 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.4254, allocations: 256.7 kB / 0.683 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.4267, allocations: 1.373 MB / 0.6843 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4268, allocations: 42.55 kB / 0.6843 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.404e-06/0.4268, allocations: 4 kB / 0.6843 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007094/0.4339, allocations: 1.754 MB / 0.686 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.4339, allocations: 59.41 kB / 0.6861 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.4355, allocations: 1.068 MB / 0.6871 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.728e-05/0.4355, allocations: 37.7 kB / 0.6872 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/0.4359, allocations: 0.535 MB / 0.6877 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.4361, allocations: 153.8 kB / 0.6879 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.4363, allocations: 134.2 kB / 0.688 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4364, allocations: 325.9 kB / 0.6883 GB, free: 388 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/0.4371, allocations: 283.2 kB / 0.6886 GB, free: 100 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008843/0.438, allocations: 0.5018 MB / 0.6891 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.4393, allocations: 0.6596 MB / 0.6897 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4393, allocations: 3.938 kB / 0.6897 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002241/0.4415, allocations: 0.9538 MB / 0.6906 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4416, allocations: 8 kB / 0.6906 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4416, allocations: 4 kB / 0.6906 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.4427, allocations: 304.7 kB / 0.6909 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/0.4432, allocations: 123.8 kB / 0.6911 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.4445, allocations: 0.8995 MB / 0.6919 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.4455, allocations: 147.2 kB / 0.6921 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.4456, allocations: 31.98 kB / 0.6921 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009574/0.4465, allocations: 490.1 kB / 0.6926 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008263/0.4474, allocations: 0.4961 MB / 0.6931 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001207/0.4486, allocations: 0.6433 MB / 0.6937 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.57e-06/0.4486, allocations: 4 kB / 0.6937 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00213/0.4507, allocations: 0.946 MB / 0.6946 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.4508, allocations: 10.34 kB / 0.6946 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4508, allocations: 7.938 kB / 0.6946 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009775/0.4518, allocations: 300.7 kB / 0.6949 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.4522, allocations: 115.8 kB / 0.695 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.4534, allocations: 0.8957 MB / 0.6959 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.4545, allocations: 131.6 kB / 0.696 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.748e-05/0.4546, allocations: 31.98 kB / 0.6961 GB, free: 8.016 MB / 0.5294 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.0002235/0.4548, allocations: 228 kB / 0.6963 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.455, allocations: 110.6 kB / 0.6964 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.4583, allocations: 1.052 MB / 0.6974 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.4584, allocations: 4 kB / 0.6974 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4584, allocations: 0 / 0.6974 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4584, allocations: 3.984 kB / 0.6974 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/0.4629, allocations: 2.056 MB / 0.6994 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.4629, allocations: 4 kB / 0.6994 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.4631, allocations: 55.91 kB / 0.6995 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009034/0.464, allocations: 300.6 kB / 0.6998 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.4641, allocations: 12 kB / 0.6998 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.4654, allocations: 0.9347 MB / 0.7007 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4654, allocations: 4.062 kB / 0.7007 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002942/0.4683, allocations: 1.09 MB / 0.7018 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/0.4688, allocations: 271.3 kB / 0.702 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.469, allocations: 12 kB / 0.702 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00078/0.4698, allocations: 59.94 kB / 0.7021 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.4699, allocations: 35.89 kB / 0.7021 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.549e-05/0.4699, allocations: 23.98 kB / 0.7021 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001203/0.4712, allocations: 0.7551 MB / 0.7029 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4712, allocations: 0 / 0.7029 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001624/0.4728, allocations: 0.5809 MB / 0.7034 GB, free: 252 kB / 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.0009201/0.4737, allocations: 402.3 kB / 0.7038 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002646/0.4764, allocations: 1.038 MB / 0.7048 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.4764, allocations: 4 kB / 0.7048 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007183/0.4771, allocations: 310.1 kB / 0.7051 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.4792, allocations: 0.5078 MB / 0.7056 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.4824, allocations: 1.804 MB / 0.7074 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/0.4831, allocations: 1.057 MB / 0.7084 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007999/0.4839, allocations: 228 kB / 0.7087 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.4841, allocations: 71.42 kB / 0.7087 GB, free: 10.8 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.4841, allocations: 0 / 0.7087 GB, free: 10.8 MB / 0.545 GB Notification: Performance of Templates: time 0.03951/0.5236, allocations: 25.12 MB / 0.7333 GB, free: 1.945 MB / 0.5606 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)