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.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001629/0.001629, allocations: 198.9 kB / 16.14 MB, free: 6.645 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9945/0.9945, allocations: 135.1 MB / 425.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 60.62 kB / 0.5047 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1935, allocations: 80.92 MB / 0.5837 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.3922/0.5858, allocations: 60.81 MB / 0.6431 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.6004, allocations: 12.07 MB / 0.6549 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002697/0.6032, allocations: 57 kB / 0.6549 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.6053, allocations: 0.5505 MB / 0.6555 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005458/0.6107, allocations: 1.796 MB / 0.6572 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.614, allocations: 1.069 MB / 0.6583 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005096/0.6191, allocations: 3.913 MB / 0.6621 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.6207, allocations: 0.9261 MB / 0.663 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.6233, allocations: 1.153 MB / 0.6641 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.6248, allocations: 0.8926 MB / 0.665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.625, allocations: 56.19 kB / 0.665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.6281, allocations: 1.361 MB / 0.6664 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003751/0.6285, allocations: 232.2 kB / 0.6666 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.6297, allocations: 0.6376 MB / 0.6672 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005009/0.6347, allocations: 2.25 MB / 0.6694 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.6347, allocations: 0 / 0.6694 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.344e-06/0.6348, allocations: 0 / 0.6694 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.034e-05/0.6348, allocations: 0 / 0.6694 GB, free: 2.121 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.004138/0.6389, allocations: 1.726 MB / 0.6711 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.639, allocations: 13.67 kB / 0.6711 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.6409, allocations: 342.6 kB / 0.6714 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002276/0.6432, allocations: 1.122 MB / 0.6725 GB, free: 152 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003538/0.6436, allocations: 126.7 kB / 0.6727 GB, free: 108 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.6437, allocations: 79.34 kB / 0.6727 GB, free: 84 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.6458, allocations: 0.9453 MB / 0.6737 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.6458, allocations: 0.7031 kB / 0.6737 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.972e-05/0.6459, allocations: 31.81 kB / 0.6737 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.6459, allocations: 19.69 kB / 0.6737 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/0.6481, allocations: 0.8111 MB / 0.6745 GB, free: 15.34 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.006696/0.6548, allocations: 4.766 MB / 0.6791 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.6564, allocations: 0.5677 MB / 0.6797 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/0.657, allocations: 270.4 kB / 0.68 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/0.6584, allocations: 1.367 MB / 0.6813 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.6584, allocations: 45.81 kB / 0.6813 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/0.6584, allocations: 4 kB / 0.6813 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008467/0.6669, allocations: 1.814 MB / 0.6831 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.667, allocations: 56.52 kB / 0.6832 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.6689, allocations: 1.051 MB / 0.6842 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.669, allocations: 38.8 kB / 0.6842 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/0.6695, allocations: 0.5229 MB / 0.6847 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.6696, allocations: 152.4 kB / 0.6849 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.6699, allocations: 123.4 kB / 0.685 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.67, allocations: 331.1 kB / 0.6853 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007622/0.6708, allocations: 274.6 kB / 0.6856 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009794/0.6717, allocations: 478 kB / 0.686 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.6732, allocations: 0.625 MB / 0.6866 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.6732, allocations: 2.5 kB / 0.6867 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002601/0.6758, allocations: 0.9282 MB / 0.6876 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.6758, allocations: 6.031 kB / 0.6876 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.6759, allocations: 4 kB / 0.6876 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.6772, allocations: 318.5 kB / 0.6879 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005042/0.6777, allocations: 106 kB / 0.688 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.6793, allocations: 0.9167 MB / 0.6889 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.6809, allocations: 159.5 kB / 0.689 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.599e-05/0.681, allocations: 27.89 kB / 0.689 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001181/0.6821, allocations: 493.1 kB / 0.6895 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000936/0.6831, allocations: 475.6 kB / 0.69 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001391/0.6845, allocations: 0.6277 MB / 0.6906 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.946e-06/0.6845, allocations: 0 / 0.6906 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00251/0.687, allocations: 0.9221 MB / 0.6915 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.687, allocations: 5.438 kB / 0.6915 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.6871, allocations: 5.312 kB / 0.6915 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.6882, allocations: 313.3 kB / 0.6918 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.6887, allocations: 112.7 kB / 0.6919 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.6901, allocations: 0.9106 MB / 0.6928 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.6916, allocations: 143.2 kB / 0.6929 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.159e-05/0.6917, allocations: 31.42 kB / 0.693 GB, free: 3.973 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.0002654/0.692, allocations: 217.2 kB / 0.6932 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.6922, allocations: 107.4 kB / 0.6933 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003658/0.6958, allocations: 1.072 MB / 0.6943 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.6959, allocations: 6.375 kB / 0.6943 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6959, allocations: 4.734 kB / 0.6943 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.6959, allocations: 3.453 kB / 0.6943 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004935/0.7008, allocations: 2.065 MB / 0.6963 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.7009, allocations: 2.406 kB / 0.6963 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.7011, allocations: 58.98 kB / 0.6964 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.7021, allocations: 310.9 kB / 0.6967 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.7021, allocations: 17.42 kB / 0.6967 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.7036, allocations: 0.9499 MB / 0.6976 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.7036, allocations: 2.406 kB / 0.6976 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003293/0.7069, allocations: 1.111 MB / 0.6987 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005412/0.7075, allocations: 257.6 kB / 0.699 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.7076, allocations: 13 kB / 0.699 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008272/0.7085, allocations: 91.59 kB / 0.6991 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.7086, allocations: 38.91 kB / 0.6991 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.7087, allocations: 22.12 kB / 0.6991 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001586/0.7103, allocations: 0.7363 MB / 0.6999 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7103, allocations: 1.031 kB / 0.6999 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002558/0.7128, allocations: 0.5665 MB / 0.7004 GB, free: 436 kB / 0.5137 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.001062/0.7139, allocations: 406.7 kB / 0.7008 GB, free: 232 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002776/0.7167, allocations: 0.996 MB / 0.7018 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.7167, allocations: 5.5 kB / 0.7018 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007506/0.7175, allocations: 320.4 kB / 0.7021 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.7198, allocations: 0.494 MB / 0.7026 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.7235, allocations: 2.216 MB / 0.7047 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/0.7242, allocations: 1.055 MB / 0.7058 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009318/0.7251, allocations: 222.5 kB / 0.706 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.7253, allocations: 73.8 kB / 0.706 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.7253, allocations: 0 / 0.706 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of Templates: time 0.03928/0.7646, allocations: 23.98 MB / 0.7295 GB, free: 7.266 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)