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.0066/0.0066, allocations: 106.3 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.001299/0.001299, allocations: 199.2 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.409/1.409, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8146/0.8146, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 60.42 kB / 0.5856 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1664, allocations: 80.92 MB / 0.6647 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06761/0.234, allocations: 61.2 MB / 0.7244 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01736/0.2514, allocations: 11.98 MB / 0.7361 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/0.2541, allocations: 63.56 kB / 0.7362 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.2565, allocations: 0.6986 MB / 0.7369 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006466/0.263, allocations: 2.061 MB / 0.7389 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004534/0.2676, allocations: 1.205 MB / 0.7401 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007143/0.2747, allocations: 3.094 MB / 0.7431 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00347/0.2782, allocations: 1.1 MB / 0.7442 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005905/0.2842, allocations: 1.372 MB / 0.7455 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.2865, allocations: 0.8984 MB / 0.7464 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004937/0.287, allocations: 120 kB / 0.7465 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.2906, allocations: 1.454 MB / 0.7479 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.4019/0.6925, allocations: 289.9 kB / 0.7482 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.6941, allocations: 0.6895 MB / 0.7489 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007225/0.7013, allocations: 2.327 MB / 0.7511 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7014, allocations: 1.125 kB / 0.7511 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.003e-06/0.7014, allocations: 0 / 0.7511 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.877e-05/0.7014, allocations: 0 / 0.7511 GB, free: 23.27 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.004154/0.7056, allocations: 1.726 MB / 0.7528 GB, free: 22.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.7057, allocations: 11.36 kB / 0.7528 GB, free: 22.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.7074, allocations: 345 kB / 0.7532 GB, free: 22.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.7097, allocations: 1.161 MB / 0.7543 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.7098, allocations: 64.25 kB / 0.7543 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.71, allocations: 80.06 kB / 0.7544 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.7121, allocations: 0.9722 MB / 0.7554 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.7122, allocations: 0.5625 kB / 0.7554 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-05/0.7122, allocations: 31.89 kB / 0.7554 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.7123, allocations: 18.75 kB / 0.7554 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.7145, allocations: 0.8054 MB / 0.7562 GB, free: 21.76 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.006853/0.7213, allocations: 5.135 MB / 0.7612 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.7231, allocations: 0.5548 MB / 0.7618 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006939/0.7238, allocations: 267 kB / 0.762 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/0.725, allocations: 1.366 MB / 0.7634 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.725, allocations: 41.53 kB / 0.7634 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.364e-06/0.725, allocations: 0.6875 kB / 0.7634 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008474/0.7335, allocations: 1.759 MB / 0.7651 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.7336, allocations: 55.78 kB / 0.7652 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.7356, allocations: 1.08 MB / 0.7662 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.7357, allocations: 36.42 kB / 0.7663 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.7361, allocations: 0.5305 MB / 0.7668 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.7362, allocations: 152.2 kB / 0.7669 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.7365, allocations: 138 kB / 0.7671 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.437e-05/0.7365, allocations: 327.9 kB / 0.7674 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007115/0.7372, allocations: 273.5 kB / 0.7676 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008255/0.7381, allocations: 0.5033 MB / 0.7681 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.7394, allocations: 0.6569 MB / 0.7688 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.7394, allocations: 2.312 kB / 0.7688 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002403/0.7418, allocations: 0.9545 MB / 0.7697 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.7418, allocations: 6.875 kB / 0.7697 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.7419, allocations: 9.25 kB / 0.7697 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.7431, allocations: 301.4 kB / 0.77 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.7436, allocations: 122.7 kB / 0.7701 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.7449, allocations: 0.893 MB / 0.771 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.7461, allocations: 151.2 kB / 0.7711 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-05/0.7462, allocations: 36.41 kB / 0.7712 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001152/0.7474, allocations: 483.7 kB / 0.7716 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008225/0.7482, allocations: 0.5005 MB / 0.7721 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001244/0.7495, allocations: 0.6509 MB / 0.7727 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.811e-06/0.7495, allocations: 7.031 kB / 0.7728 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002275/0.7518, allocations: 0.9411 MB / 0.7737 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.7518, allocations: 6.75 kB / 0.7737 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.7518, allocations: 5.938 kB / 0.7737 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009794/0.7528, allocations: 291 kB / 0.774 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.7533, allocations: 117 kB / 0.7741 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.7544, allocations: 0.9021 MB / 0.775 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.7556, allocations: 126.1 kB / 0.7751 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.7557, allocations: 32.44 kB / 0.7751 GB, free: 13.5 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.0002443/0.756, allocations: 220.6 kB / 0.7753 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.7562, allocations: 118.5 kB / 0.7754 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/0.7595, allocations: 1.051 MB / 0.7765 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.7595, allocations: 5.812 kB / 0.7765 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.7595, allocations: 1.781 kB / 0.7765 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.7595, allocations: 3.625 kB / 0.7765 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004451/0.764, allocations: 2.058 MB / 0.7785 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.764, allocations: 2.219 kB / 0.7785 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.7642, allocations: 53.7 kB / 0.7785 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009023/0.7651, allocations: 310.8 kB / 0.7788 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.7652, allocations: 13.94 kB / 0.7788 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.7664, allocations: 0.9277 MB / 0.7797 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.7664, allocations: 2.344 kB / 0.7797 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.7694, allocations: 1.091 MB / 0.7808 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/0.7699, allocations: 263.5 kB / 0.7811 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.77, allocations: 14.38 kB / 0.7811 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.7707, allocations: 66.34 kB / 0.7811 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.7708, allocations: 30.25 kB / 0.7812 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/0.7709, allocations: 26.36 kB / 0.7812 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001228/0.7721, allocations: 0.7545 MB / 0.7819 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7721, allocations: 0 / 0.7819 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001818/0.774, allocations: 0.5764 MB / 0.7825 GB, free: 11.51 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.0008097/0.7748, allocations: 416 kB / 0.7829 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002519/0.7773, allocations: 1.017 MB / 0.7839 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.7773, allocations: 1.562 kB / 0.7839 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007102/0.778, allocations: 321.5 kB / 0.7842 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.7801, allocations: 0.5131 MB / 0.7847 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.7835, allocations: 1.8 MB / 0.7865 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.7839, allocations: 1.059 MB / 0.7875 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008059/0.7847, allocations: 230.9 kB / 0.7877 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.7849, allocations: 77.98 kB / 0.7878 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.7849, allocations: 0 / 0.7878 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of Templates: time 0.04035/0.8253, 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)