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.0007954/0.0007953, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008862/0.0008862, allocations: 184.1 kB / 16.92 MB, free: 6.922 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.339/1.339, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9395/0.9395, allocations: 135.3 MB / 427.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003413, allocations: 15.94 kB / 0.5082 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1685, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.3965/0.5651, allocations: 59.77 MB / 0.647 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01317/0.5783, allocations: 11.91 MB / 0.6586 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.5803, allocations: 51.47 kB / 0.6587 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.5819, allocations: 0.555 MB / 0.6592 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004387/0.5863, allocations: 1.807 MB / 0.661 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.5887, allocations: 1.074 MB / 0.662 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003971/0.5927, allocations: 3.92 MB / 0.6659 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.5941, allocations: 0.9124 MB / 0.6667 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/0.5966, allocations: 1.125 MB / 0.6678 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.5979, allocations: 0.8658 MB / 0.6687 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.598, allocations: 42.41 kB / 0.6687 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.6007, allocations: 1.328 MB / 0.67 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.601, allocations: 207.2 kB / 0.6702 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008033/0.6018, allocations: 0.6374 MB / 0.6708 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.6045, allocations: 1.705 MB / 0.6725 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.6045, allocations: 4.75 kB / 0.6725 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6045, allocations: 0 / 0.6725 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.6046, allocations: 0 / 0.6725 GB, free: 2.48 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.003162/0.6077, allocations: 1.507 MB / 0.674 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.6078, allocations: 10.12 kB / 0.674 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/0.6101, allocations: 475.4 kB / 0.6744 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.6123, allocations: 1.135 MB / 0.6756 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003787/0.6127, allocations: 129 kB / 0.6757 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.6128, allocations: 83.41 kB / 0.6758 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.6151, allocations: 1.033 MB / 0.6768 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.6151, allocations: 1.438 kB / 0.6768 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/0.6152, allocations: 30.81 kB / 0.6768 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.6152, allocations: 19.44 kB / 0.6768 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.6179, allocations: 0.9595 MB / 0.6778 GB, free: 15.8 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.007275/0.6252, allocations: 4.916 MB / 0.6826 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003782/0.629, allocations: 0.9055 MB / 0.6834 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008953/0.6299, allocations: 346.8 kB / 0.6838 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007304/0.6306, allocations: 0.9123 MB / 0.6847 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.6307, allocations: 38.06 kB / 0.6847 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.174e-06/0.6307, allocations: 0 / 0.6847 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009617/0.6403, allocations: 2.213 MB / 0.6869 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.6404, allocations: 60.05 kB / 0.6869 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.6424, allocations: 1.057 MB / 0.6879 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.921e-05/0.6425, allocations: 38.64 kB / 0.688 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/0.643, allocations: 0.5311 MB / 0.6885 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.6431, allocations: 150.6 kB / 0.6886 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.6432, allocations: 54.94 kB / 0.6887 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6434, allocations: 327.2 kB / 0.689 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.6444, allocations: 340.4 kB / 0.6893 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.6456, allocations: 0.5582 MB / 0.6899 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/0.6476, allocations: 0.779 MB / 0.6906 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.6476, allocations: 9.312 kB / 0.6907 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003177/0.6508, allocations: 1.085 MB / 0.6917 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.651, allocations: 215.1 kB / 0.6919 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.651, allocations: 4.719 kB / 0.6919 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.6524, allocations: 331.2 kB / 0.6922 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.653, allocations: 145.2 kB / 0.6924 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.6547, allocations: 0.9407 MB / 0.6933 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.6563, allocations: 201.3 kB / 0.6935 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.135e-05/0.6564, allocations: 29.5 kB / 0.6935 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.6564, allocations: 4.359 kB / 0.6935 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002769/0.6592, allocations: 0.9537 MB / 0.6944 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.6592, allocations: 8.469 kB / 0.6945 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.6604, allocations: 332.5 kB / 0.6948 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.661, allocations: 137.5 kB / 0.6949 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.6625, allocations: 0.9327 MB / 0.6958 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.664, allocations: 179.4 kB / 0.696 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/0.6641, allocations: 28.78 kB / 0.696 GB, free: 5.348 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.0007152/0.6648, allocations: 353.4 kB / 0.6964 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.665, allocations: 116.2 kB / 0.6965 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00421/0.6692, allocations: 1.246 MB / 0.6977 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.6693, allocations: 5.969 kB / 0.6977 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.6693, allocations: 8.891 kB / 0.6977 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.6693, allocations: 2.578 kB / 0.6977 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006137/0.6754, allocations: 2.329 MB / 0.7 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.6755, allocations: 3.031 kB / 0.7 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.6758, allocations: 79.22 kB / 0.7 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.6769, allocations: 324.4 kB / 0.7004 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.6769, allocations: 16.81 kB / 0.7004 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.6785, allocations: 0.9698 MB / 0.7013 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.6785, allocations: 3.594 kB / 0.7013 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004149/0.6826, allocations: 1.324 MB / 0.7026 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006343/0.6833, allocations: 280.5 kB / 0.7029 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.6834, allocations: 9.594 kB / 0.7029 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009547/0.6844, allocations: 128.1 kB / 0.703 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.6845, allocations: 44.7 kB / 0.7031 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.6846, allocations: 23.48 kB / 0.7031 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001344/0.6859, allocations: 0.7477 MB / 0.7038 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6859, allocations: 0 / 0.7038 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001956/0.6879, allocations: 0.5573 MB / 0.7044 GB, free: 1.312 MB / 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.0008198/0.6887, allocations: 385.8 kB / 0.7047 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003546/0.6923, allocations: 1.231 MB / 0.7059 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6923, allocations: 3.938 kB / 0.7059 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009915/0.6933, allocations: 394.5 kB / 0.7063 GB, free: 408 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.6961, allocations: 0.502 MB / 0.7068 GB, free: 152 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005516/0.7016, allocations: 2.608 MB / 0.7093 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/0.7022, allocations: 1.061 MB / 0.7104 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.7025, allocations: 81.64 kB / 0.7105 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of SimCode: time 4.4e-07/0.7025, allocations: 3.375 kB / 0.7105 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of Templates: time 0.03334/0.7358, allocations: 23.94 MB / 0.7338 GB, free: 6.535 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)