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.0011/0.0011, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001313/0.001313, allocations: 193.8 kB / 16.25 MB, free: 6.637 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9814/0.9814, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.8 kB / 0.5049 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1868, allocations: 80.92 MB / 0.5839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.4085/0.5953, allocations: 60.68 MB / 0.6431 GB, free: 17.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.6096, allocations: 11.89 MB / 0.6548 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.6125, allocations: 55.12 kB / 0.6548 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.6148, allocations: 0.5796 MB / 0.6554 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005559/0.6204, allocations: 1.818 MB / 0.6571 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.6236, allocations: 1.101 MB / 0.6582 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004622/0.6282, allocations: 3.101 MB / 0.6613 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001937/0.6302, allocations: 1.111 MB / 0.6623 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003899/0.6341, allocations: 1.334 MB / 0.6636 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.6361, allocations: 0.9258 MB / 0.6645 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003083/0.6365, allocations: 116.1 kB / 0.6647 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003649/0.6401, allocations: 1.466 MB / 0.6661 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004003/0.6405, allocations: 294.3 kB / 0.6664 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.6418, allocations: 0.6963 MB / 0.667 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004902/0.6467, allocations: 2.314 MB / 0.6693 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6467, allocations: 0 / 0.6693 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6467, allocations: 0 / 0.6693 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.667e-05/0.6468, allocations: 4.656 kB / 0.6693 GB, free: 1.738 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.004123/0.6509, allocations: 1.725 MB / 0.671 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.651, allocations: 10.38 kB / 0.671 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.6531, allocations: 343 kB / 0.6713 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/0.6561, allocations: 1.126 MB / 0.6724 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/0.6566, allocations: 119.2 kB / 0.6725 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.6567, allocations: 78.78 kB / 0.6726 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.659, allocations: 0.9532 MB / 0.6736 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.659, allocations: 5.375 kB / 0.6736 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.762e-05/0.6591, allocations: 31.75 kB / 0.6736 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.6591, allocations: 19.25 kB / 0.6736 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.6614, allocations: 0.8085 MB / 0.6744 GB, free: 14.96 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.007888/0.6693, allocations: 4.758 MB / 0.679 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.671, allocations: 0.5631 MB / 0.6796 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/0.6717, allocations: 267.5 kB / 0.6798 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/0.6732, allocations: 1.367 MB / 0.6812 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.6732, allocations: 42.62 kB / 0.6812 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/0.6732, allocations: 0 / 0.6812 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008713/0.6819, allocations: 1.822 MB / 0.683 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.682, allocations: 56.28 kB / 0.6831 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.6841, allocations: 1.047 MB / 0.6841 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.6842, allocations: 46.27 kB / 0.6841 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004954/0.6847, allocations: 0.5214 MB / 0.6846 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.6849, allocations: 154.7 kB / 0.6848 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.6852, allocations: 122 kB / 0.6849 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.6853, allocations: 330.2 kB / 0.6852 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008295/0.6861, allocations: 273 kB / 0.6855 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.6872, allocations: 481.6 kB / 0.6859 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.6887, allocations: 0.6261 MB / 0.6865 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.6887, allocations: 1.344 kB / 0.6865 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00275/0.6915, allocations: 0.9277 MB / 0.6874 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.6915, allocations: 6.156 kB / 0.6875 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.6915, allocations: 5.75 kB / 0.6875 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.6929, allocations: 318.4 kB / 0.6878 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.6934, allocations: 109.4 kB / 0.6879 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.695, allocations: 0.9157 MB / 0.6888 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.6966, allocations: 159.5 kB / 0.6889 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.6968, allocations: 28.69 kB / 0.6889 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001224/0.698, allocations: 489 kB / 0.6894 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009852/0.699, allocations: 476.7 kB / 0.6899 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001479/0.7005, allocations: 0.6266 MB / 0.6905 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.078e-06/0.7005, allocations: 5.469 kB / 0.6905 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002791/0.7033, allocations: 0.9216 MB / 0.6914 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.7033, allocations: 6.75 kB / 0.6914 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.7033, allocations: 3.766 kB / 0.6914 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.7046, allocations: 316 kB / 0.6917 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.7051, allocations: 109.7 kB / 0.6918 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.7066, allocations: 0.9072 MB / 0.6927 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.7083, allocations: 147.8 kB / 0.6928 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.7084, allocations: 27.17 kB / 0.6928 GB, free: 3.602 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.0003234/0.7088, allocations: 215.9 kB / 0.6931 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.709, allocations: 108.6 kB / 0.6932 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/0.713, allocations: 1.073 MB / 0.6942 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.713, allocations: 6.125 kB / 0.6942 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.713, allocations: 3.938 kB / 0.6942 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.7131, allocations: 4.047 kB / 0.6942 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005432/0.7185, allocations: 2.076 MB / 0.6962 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.7185, allocations: 7.297 kB / 0.6963 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.7188, allocations: 47.8 kB / 0.6963 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.7199, allocations: 312.8 kB / 0.6966 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.7199, allocations: 15.42 kB / 0.6966 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.7215, allocations: 0.9464 MB / 0.6975 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.7216, allocations: 7.688 kB / 0.6975 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003618/0.7252, allocations: 1.11 MB / 0.6986 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007124/0.7259, allocations: 261.5 kB / 0.6989 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.7261, allocations: 10.09 kB / 0.6989 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008876/0.727, allocations: 92.97 kB / 0.699 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.7271, allocations: 36.39 kB / 0.699 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.7272, allocations: 25.77 kB / 0.699 GB, free: 484 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001304/0.7285, allocations: 0.7329 MB / 0.6998 GB, free: 168 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7285, allocations: 1.156 kB / 0.6998 GB, free: 168 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002021/0.7305, allocations: 0.5721 MB / 0.7003 GB, free: 44 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.00103/0.7316, allocations: 394.2 kB / 0.7007 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003196/0.7348, allocations: 1.02 MB / 0.7017 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/0.7348, allocations: 1.188 kB / 0.7017 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008744/0.7357, allocations: 326 kB / 0.702 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/0.7384, allocations: 0.5128 MB / 0.7025 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/0.7425, allocations: 2.207 MB / 0.7047 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/0.7432, allocations: 1.059 MB / 0.7057 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001297/0.7446, allocations: 222.1 kB / 0.7059 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/0.7448, allocations: 80.36 kB / 0.706 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of SimCode: time 1.473e-06/0.7448, allocations: 0 / 0.706 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.04429/0.7891, allocations: 24.73 MB / 0.7301 GB, free: 6.688 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)