Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006547/0.006547, allocations: 100.4 kB / 15.87 MB, free: 5.871 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.001189/0.001189, allocations: 191.5 kB / 16.79 MB, free: 5.816 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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.88 kB / 0.5053 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2081, allocations: 80.93 MB / 0.5844 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.4309/0.6391, allocations: 60.86 MB / 0.6438 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.6567, allocations: 12.07 MB / 0.6556 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002855/0.6596, allocations: 51.28 kB / 0.6556 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.662, allocations: 0.5522 MB / 0.6562 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006063/0.668, allocations: 1.805 MB / 0.6579 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003371/0.6714, allocations: 1.074 MB / 0.659 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005528/0.677, allocations: 3.911 MB / 0.6628 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.6789, allocations: 0.9471 MB / 0.6637 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/0.6821, allocations: 1.157 MB / 0.6648 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.6841, allocations: 0.9104 MB / 0.6657 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.6843, allocations: 57.25 kB / 0.6658 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003632/0.6879, allocations: 1.336 MB / 0.6671 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003971/0.6884, allocations: 240.7 kB / 0.6673 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.6896, allocations: 0.6366 MB / 0.6679 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.6931, allocations: 1.74 MB / 0.6696 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.6931, allocations: 0 / 0.6696 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.297e-06/0.6931, allocations: 1.062 kB / 0.6696 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.817e-05/0.6932, allocations: 0 / 0.6696 GB, free: 2.312 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004131/0.6973, allocations: 1.743 MB / 0.6713 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.6974, allocations: 9.656 kB / 0.6714 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/0.6998, allocations: 410.4 kB / 0.6717 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/0.7022, allocations: 1.132 MB / 0.6729 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003762/0.7026, allocations: 120.1 kB / 0.673 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.7027, allocations: 79.91 kB / 0.673 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.7051, allocations: 1.008 MB / 0.674 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.7051, allocations: 1.531 kB / 0.674 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/0.7052, allocations: 31.72 kB / 0.6741 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.7052, allocations: 18.72 kB / 0.6741 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/0.708, allocations: 0.8932 MB / 0.675 GB, free: 15.48 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.008226/0.7162, allocations: 4.858 MB / 0.6797 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003635/0.7199, allocations: 0.7987 MB / 0.6805 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008466/0.7208, allocations: 319.8 kB / 0.6808 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007612/0.7215, allocations: 0.9044 MB / 0.6817 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.7216, allocations: 40.97 kB / 0.6817 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.585e-06/0.7216, allocations: 0 / 0.6817 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009635/0.7312, allocations: 1.955 MB / 0.6836 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.7313, allocations: 64.33 kB / 0.6837 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/0.7335, allocations: 1.052 MB / 0.6847 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.7337, allocations: 33.45 kB / 0.6847 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005028/0.7342, allocations: 0.5341 MB / 0.6853 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.7344, allocations: 156 kB / 0.6854 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.7347, allocations: 133 kB / 0.6855 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7348, allocations: 325.2 kB / 0.6858 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.7359, allocations: 324.9 kB / 0.6861 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.7372, allocations: 0.5256 MB / 0.6867 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/0.7391, allocations: 0.7118 MB / 0.6874 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.7391, allocations: 5.062 kB / 0.6874 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003322/0.7424, allocations: 1.014 MB / 0.6884 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.7425, allocations: 8.188 kB / 0.6884 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.7425, allocations: 4 kB / 0.6884 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.744, allocations: 309.2 kB / 0.6887 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/0.7446, allocations: 128.6 kB / 0.6888 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.7463, allocations: 0.9149 MB / 0.6897 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.7481, allocations: 184.8 kB / 0.6899 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.7482, allocations: 30.31 kB / 0.6899 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001543/0.7497, allocations: 0.5207 MB / 0.6904 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001227/0.751, allocations: 0.5256 MB / 0.6909 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001864/0.7529, allocations: 0.698 MB / 0.6916 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.149e-06/0.7529, allocations: 1.781 kB / 0.6916 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.003136/0.756, allocations: 1.015 MB / 0.6926 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.7561, allocations: 7.344 kB / 0.6926 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.7561, allocations: 3.469 kB / 0.6926 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.7573, allocations: 312.7 kB / 0.6929 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/0.7578, allocations: 121.2 kB / 0.693 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.7594, allocations: 0.9088 MB / 0.6939 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.7611, allocations: 165 kB / 0.694 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.089e-05/0.7612, allocations: 28.53 kB / 0.6941 GB, free: 4.332 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0003284/0.7616, allocations: 220.4 kB / 0.6943 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.7618, allocations: 109.4 kB / 0.6944 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/0.7659, allocations: 1.139 MB / 0.6955 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.766, allocations: 14.16 kB / 0.6955 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.766, allocations: 0 / 0.6955 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.766, allocations: 3 kB / 0.6955 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005933/0.772, allocations: 2.211 MB / 0.6977 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.772, allocations: 7.188 kB / 0.6977 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.7723, allocations: 72.53 kB / 0.6978 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.7734, allocations: 301.9 kB / 0.698 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.7735, allocations: 13.78 kB / 0.6981 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.7751, allocations: 0.947 MB / 0.699 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7751, allocations: 3.219 kB / 0.699 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004064/0.7792, allocations: 1.21 MB / 0.7002 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007968/0.78, allocations: 264.5 kB / 0.7004 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.7802, allocations: 20.23 kB / 0.7004 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009671/0.7812, allocations: 99.77 kB / 0.7005 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.7813, allocations: 48.11 kB / 0.7006 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.45e-05/0.7814, allocations: 22.92 kB / 0.7006 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001442/0.7828, allocations: 0.739 MB / 0.7013 GB, free: 484 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7828, allocations: 0 / 0.7013 GB, free: 484 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002127/0.785, allocations: 0.5684 MB / 0.7019 GB, free: 356 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 (34): * Single equations (assignments): 29 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009918/0.786, allocations: 388.8 kB / 0.7022 GB, free: 132 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003536/0.7895, allocations: 1.138 MB / 0.7034 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.7895, allocations: 0 / 0.7034 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.7906, allocations: 368.2 kB / 0.7037 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/0.7933, allocations: 0.4964 MB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/0.7992, allocations: 2.486 MB / 0.7066 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/0.7999, allocations: 1.065 MB / 0.7077 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/0.8002, allocations: 78.45 kB / 0.7077 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/0.8002, allocations: 2.5 kB / 0.7077 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of Templates: time 0.03567/0.8359, allocations: 24.13 MB / 0.7313 GB, free: 5.93 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)