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.001073/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001305/0.001305, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9983/0.9983, allocations: 135.1 MB / 425.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 72.42 kB / 0.5047 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1806, allocations: 80.92 MB / 0.5837 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.3956/0.5763, allocations: 60.86 MB / 0.6431 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01479/0.5911, allocations: 12.07 MB / 0.6549 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/0.5941, allocations: 55.12 kB / 0.655 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.5962, allocations: 0.547 MB / 0.6555 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005461/0.6017, allocations: 1.812 MB / 0.6573 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.6049, allocations: 1.064 MB / 0.6583 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005185/0.6101, allocations: 3.924 MB / 0.6622 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/0.6118, allocations: 0.9426 MB / 0.6631 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003036/0.6148, allocations: 1.155 MB / 0.6642 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.617, allocations: 0.9126 MB / 0.6651 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003577/0.6174, allocations: 57.62 kB / 0.6652 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00381/0.6212, allocations: 1.335 MB / 0.6665 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004669/0.6217, allocations: 242.2 kB / 0.6667 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.6229, allocations: 0.6437 MB / 0.6673 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004529/0.6275, allocations: 2.246 MB / 0.6695 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6275, allocations: 0 / 0.6695 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6275, allocations: 0 / 0.6695 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.368e-05/0.6275, allocations: 1 kB / 0.6695 GB, free: 2.07 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.003712/0.6312, allocations: 1.743 MB / 0.6712 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6313, allocations: 10.09 kB / 0.6712 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/0.6336, allocations: 409.9 kB / 0.6716 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.6358, allocations: 1.137 MB / 0.6727 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/0.6362, allocations: 127.4 kB / 0.6728 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.6363, allocations: 79.94 kB / 0.6729 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.6386, allocations: 0.9994 MB / 0.6739 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.6386, allocations: 0.9688 kB / 0.6739 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.543e-05/0.6387, allocations: 31.84 kB / 0.6739 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.6388, allocations: 24.34 kB / 0.674 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.6413, allocations: 0.8956 MB / 0.6748 GB, free: 15.23 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.007742/0.6491, allocations: 4.854 MB / 0.6796 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003631/0.6528, allocations: 0.8018 MB / 0.6803 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008031/0.6536, allocations: 318 kB / 0.6807 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007782/0.6544, allocations: 0.9117 MB / 0.6815 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.273e-05/0.6544, allocations: 33.97 kB / 0.6816 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 5.49e-06/0.6544, allocations: 0 / 0.6816 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009542/0.664, allocations: 1.963 MB / 0.6835 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.6641, allocations: 60.27 kB / 0.6835 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.666, allocations: 1.056 MB / 0.6846 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.6661, allocations: 33.67 kB / 0.6846 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/0.6667, allocations: 0.5313 MB / 0.6851 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.6669, allocations: 154.6 kB / 0.6853 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.6671, allocations: 131.8 kB / 0.6854 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6673, allocations: 325.4 kB / 0.6857 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009951/0.6683, allocations: 322.7 kB / 0.686 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.6695, allocations: 0.5211 MB / 0.6865 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.6715, allocations: 0.7106 MB / 0.6872 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.6715, allocations: 6.375 kB / 0.6872 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003203/0.6747, allocations: 1.014 MB / 0.6882 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.6748, allocations: 8.219 kB / 0.6882 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6748, allocations: 4.125 kB / 0.6882 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.6762, allocations: 312.9 kB / 0.6885 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.6768, allocations: 124.7 kB / 0.6887 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.6785, allocations: 0.9124 MB / 0.6895 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.6802, allocations: 181.6 kB / 0.6897 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/0.6803, allocations: 28.62 kB / 0.6897 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001472/0.6818, allocations: 0.5219 MB / 0.6903 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001183/0.683, allocations: 0.5246 MB / 0.6908 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001822/0.6848, allocations: 0.7019 MB / 0.6915 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.057e-06/0.6849, allocations: 1.156 kB / 0.6915 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.003012/0.6879, allocations: 1.016 MB / 0.6924 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.6879, allocations: 7.344 kB / 0.6925 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6879, allocations: 4.906 kB / 0.6925 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.6891, allocations: 311.6 kB / 0.6928 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/0.6896, allocations: 127 kB / 0.6929 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.6912, allocations: 0.9044 MB / 0.6938 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.693, allocations: 168.4 kB / 0.6939 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.363e-05/0.6931, allocations: 29.78 kB / 0.6939 GB, free: 4.09 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.0003173/0.6934, allocations: 218.8 kB / 0.6942 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.6937, allocations: 108.1 kB / 0.6943 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004228/0.698, allocations: 1.136 MB / 0.6954 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/0.698, allocations: 11.55 kB / 0.6954 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.698, allocations: 4 kB / 0.6954 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.6981, allocations: 5.172 kB / 0.6954 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00617/0.7042, allocations: 2.21 MB / 0.6975 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.7043, allocations: 2.469 kB / 0.6975 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.7046, allocations: 76.53 kB / 0.6976 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.7057, allocations: 305.1 kB / 0.6979 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/0.7057, allocations: 10.19 kB / 0.6979 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.7073, allocations: 0.9447 MB / 0.6988 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.7073, allocations: 7.469 kB / 0.6989 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/0.7112, allocations: 1.205 MB / 0.7 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/0.712, allocations: 263.9 kB / 0.7003 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/0.7124, allocations: 11.88 kB / 0.7003 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.7136, allocations: 103.3 kB / 0.7004 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.7137, allocations: 44.11 kB / 0.7004 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.443e-05/0.7138, allocations: 23.89 kB / 0.7005 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00163/0.7154, allocations: 0.7435 MB / 0.7012 GB, free: 164 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7155, allocations: 0 / 0.7012 GB, free: 164 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002414/0.7179, allocations: 0.5608 MB / 0.7017 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 (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.001371/0.7193, allocations: 394.5 kB / 0.7021 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003626/0.7229, allocations: 1.136 MB / 0.7032 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.7229, allocations: 0 / 0.7032 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.724, allocations: 372.4 kB / 0.7036 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/0.7271, allocations: 0.5015 MB / 0.7041 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006079/0.7332, allocations: 2.45 MB / 0.7065 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007876/0.734, allocations: 1.064 MB / 0.7075 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001247/0.7353, allocations: 220.3 kB / 0.7077 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.7356, allocations: 78.2 kB / 0.7078 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of SimCode: time 9.41e-07/0.7356, allocations: 0 / 0.7078 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.04134/0.7769, allocations: 24 MB / 0.7312 GB, free: 5.523 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)