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.005617/0.005617, allocations: 103.4 kB / 15.74 MB, free: 6.008 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.001249/0.001249, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8315/0.8315, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 71.36 kB / 0.5856 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1818, allocations: 80.92 MB / 0.6647 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06691/0.2487, allocations: 61.19 MB / 0.7244 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01991/0.2687, allocations: 11.98 MB / 0.7361 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003103/0.2718, allocations: 55.69 kB / 0.7362 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00216/0.2741, allocations: 0.6947 MB / 0.7369 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006201/0.2803, allocations: 2.06 MB / 0.7389 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.2837, allocations: 1.22 MB / 0.7401 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004393/0.2881, allocations: 3.083 MB / 0.7431 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.29, allocations: 1.104 MB / 0.7442 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003503/0.2935, allocations: 1.37 MB / 0.7455 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.2954, allocations: 0.8984 MB / 0.7464 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004054/0.2958, allocations: 116 kB / 0.7465 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/0.2991, allocations: 1.458 MB / 0.7479 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004955/0.2996, allocations: 294.8 kB / 0.7482 GB, free: 60 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4183/0.718, allocations: 0.6906 MB / 0.7489 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004753/0.7228, allocations: 2.325 MB / 0.7511 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7228, allocations: 1.031 kB / 0.7511 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7228, allocations: 0 / 0.7511 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.636e-05/0.7229, allocations: 0 / 0.7511 GB, free: 23.2 MB / 0.5762 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.003637/0.7265, allocations: 1.73 MB / 0.7528 GB, free: 22.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.7266, allocations: 10.02 kB / 0.7528 GB, free: 22.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.7284, allocations: 341 kB / 0.7532 GB, free: 22.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.7307, allocations: 1.161 MB / 0.7543 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.7308, allocations: 62 kB / 0.7543 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.7309, allocations: 81.28 kB / 0.7544 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.733, allocations: 0.9694 MB / 0.7554 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.733, allocations: 3.344 kB / 0.7554 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.283e-05/0.7331, allocations: 31.22 kB / 0.7554 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.7331, allocations: 19.09 kB / 0.7554 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.7353, allocations: 0.8079 MB / 0.7562 GB, free: 21.69 MB / 0.5762 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.006544/0.7418, allocations: 5.128 MB / 0.7612 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.7435, allocations: 0.5506 MB / 0.7618 GB, free: 18.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006881/0.7442, allocations: 267.8 kB / 0.762 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.7454, allocations: 1.367 MB / 0.7634 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.7454, allocations: 40.22 kB / 0.7634 GB, free: 17 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.7454, allocations: 0.5938 kB / 0.7634 GB, free: 17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008463/0.7539, allocations: 1.764 MB / 0.7651 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.7539, allocations: 55.44 kB / 0.7652 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.7558, allocations: 1.08 MB / 0.7662 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.7559, allocations: 34.55 kB / 0.7663 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.7563, allocations: 0.5306 MB / 0.7668 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.7565, allocations: 150 kB / 0.7669 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.7567, allocations: 138.1 kB / 0.767 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.7568, allocations: 329.7 kB / 0.7674 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007414/0.7575, allocations: 279.7 kB / 0.7676 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008828/0.7584, allocations: 0.4991 MB / 0.7681 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.7598, allocations: 0.6536 MB / 0.7688 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.7598, allocations: 1.312 kB / 0.7688 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002598/0.7624, allocations: 0.9555 MB / 0.7697 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.7625, allocations: 8.25 kB / 0.7697 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/0.7625, allocations: 4.938 kB / 0.7697 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.7639, allocations: 309 kB / 0.77 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.7644, allocations: 122.3 kB / 0.7701 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.7657, allocations: 0.8906 MB / 0.771 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.7671, allocations: 150.6 kB / 0.7711 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.833e-05/0.7672, allocations: 32.88 kB / 0.7712 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001185/0.7684, allocations: 486.5 kB / 0.7716 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008492/0.7693, allocations: 0.5062 MB / 0.7721 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001301/0.7706, allocations: 0.6465 MB / 0.7727 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/0.7706, allocations: 5.031 kB / 0.7728 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002505/0.7731, allocations: 0.9421 MB / 0.7737 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.7731, allocations: 8 kB / 0.7737 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.7731, allocations: 9.125 kB / 0.7737 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.7742, allocations: 286.1 kB / 0.774 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.7747, allocations: 122.1 kB / 0.7741 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.776, allocations: 0.9061 MB / 0.775 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.7773, allocations: 124.4 kB / 0.7751 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/0.7774, allocations: 34.5 kB / 0.7751 GB, free: 13.43 MB / 0.5762 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.0002295/0.7776, allocations: 217.2 kB / 0.7753 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.7779, allocations: 115.5 kB / 0.7754 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.7815, allocations: 1.05 MB / 0.7765 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.7815, allocations: 5.406 kB / 0.7765 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7815, allocations: 1.062 kB / 0.7765 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.7815, allocations: 3.938 kB / 0.7765 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004774/0.7863, allocations: 2.057 MB / 0.7785 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.7863, allocations: 4.219 kB / 0.7785 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.7866, allocations: 53.8 kB / 0.7785 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000961/0.7875, allocations: 307.2 kB / 0.7788 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.7876, allocations: 13.66 kB / 0.7788 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.7889, allocations: 0.9302 MB / 0.7797 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.7889, allocations: 4 kB / 0.7797 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.7923, allocations: 1.094 MB / 0.7808 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/0.7929, allocations: 257.9 kB / 0.7811 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.7931, allocations: 13.12 kB / 0.7811 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007695/0.7939, allocations: 69.17 kB / 0.7811 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.794, allocations: 37.64 kB / 0.7812 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.353e-05/0.794, allocations: 25.03 kB / 0.7812 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001212/0.7953, allocations: 0.7471 MB / 0.7819 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.372e-06/0.7953, allocations: 0 / 0.7819 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001757/0.797, allocations: 0.5898 MB / 0.7825 GB, free: 11.43 MB / 0.5762 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.0008195/0.7979, allocations: 397.4 kB / 0.7829 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002759/0.8006, allocations: 1.022 MB / 0.7839 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.8007, allocations: 0 / 0.7839 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007461/0.8014, allocations: 322.3 kB / 0.7842 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/0.8039, allocations: 0.5171 MB / 0.7847 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.8069, allocations: 1.799 MB / 0.7865 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.8074, allocations: 1.061 MB / 0.7875 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009312/0.8083, allocations: 222.3 kB / 0.7877 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.8085, allocations: 73.2 kB / 0.7878 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.8085, allocations: 2.625 kB / 0.7878 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of Templates: time 0.04421/0.8528, allocations: 25.3 MB / 0.8125 GB, free: 10.84 MB / 0.5919 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)