Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 105.2 kB / 18.05 MB, free: 4.32 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 186 kB / 21.17 MB, free: 1.211 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.6 MB / 249.7 MB, free: 3.246 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8175/0.8175, allocations: 137.4 MB / 442.1 MB, free: 13.87 MB / 350.1 MB [Timeout remaining time 89] 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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.89 kB / 0.6134 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3707, allocations: 85.54 MB / 0.6969 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06466/0.4354, allocations: 61.6 MB / 0.7571 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01786/0.4533, allocations: 12.01 MB / 0.7688 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.4552, allocations: 59.62 kB / 0.7688 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.457, allocations: 0.7142 MB / 0.7695 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004948/0.4619, allocations: 2.053 MB / 0.7716 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.4647, allocations: 1.227 MB / 0.7727 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003935/0.4687, allocations: 3.099 MB / 0.7758 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.4699, allocations: 0.9007 MB / 0.7767 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00265/0.4726, allocations: 1.379 MB / 0.778 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.4739, allocations: 0.9411 MB / 0.7789 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.474, allocations: 116 kB / 0.779 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.4767, allocations: 1.454 MB / 0.7805 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.477, allocations: 290.8 kB / 0.7807 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007009/0.4777, allocations: 0.6958 MB / 0.7814 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.4809, allocations: 2.32 MB / 0.7837 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4809, allocations: 0 / 0.7837 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4809, allocations: 0 / 0.7837 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.4809, allocations: 0 / 0.7837 GB, free: 7.863 MB / 0.5919 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.003016/0.4839, allocations: 1.767 MB / 0.7854 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.484, allocations: 13.7 kB / 0.7854 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.4862, allocations: 415.4 kB / 0.7858 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/0.4883, allocations: 1.176 MB / 0.787 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.4884, allocations: 58 kB / 0.787 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.4885, allocations: 84 kB / 0.7871 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.4905, allocations: 0.9976 MB / 0.7881 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.4906, allocations: 7.938 kB / 0.7881 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.711e-05/0.4906, allocations: 35.94 kB / 0.7881 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.4906, allocations: 16 kB / 0.7881 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.4929, allocations: 0.8625 MB / 0.789 GB, free: 2.266 MB / 0.5919 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.006678/0.4995, allocations: 5.225 MB / 0.7941 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.5028, allocations: 0.7568 MB / 0.7948 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006828/0.5035, allocations: 280.6 kB / 0.7951 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007317/0.5042, allocations: 0.9063 MB / 0.796 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.5043, allocations: 38.56 kB / 0.796 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/0.5043, allocations: 0 / 0.796 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.00819/0.5125, allocations: 1.852 MB / 0.7978 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.5125, allocations: 55.41 kB / 0.7979 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.5143, allocations: 1.072 MB / 0.7989 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-05/0.5144, allocations: 37.7 kB / 0.7989 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005266/0.5149, allocations: 0.5398 MB / 0.7995 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.5151, allocations: 162.6 kB / 0.7996 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.5153, allocations: 134.3 kB / 0.7998 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5155, allocations: 326 kB / 0.8001 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008606/0.5163, allocations: 311.2 kB / 0.8004 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.5174, allocations: 0.5346 MB / 0.8009 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.5191, allocations: 0.7214 MB / 0.8016 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.5191, allocations: 3.938 kB / 0.8016 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002703/0.5218, allocations: 1.016 MB / 0.8026 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.5218, allocations: 6.188 kB / 0.8026 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.5218, allocations: 8 kB / 0.8026 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.523, allocations: 306.8 kB / 0.8029 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.5236, allocations: 131.8 kB / 0.803 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.5252, allocations: 0.8957 MB / 0.8039 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.5263, allocations: 167.5 kB / 0.804 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.5264, allocations: 27.98 kB / 0.8041 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001154/0.5275, allocations: 0.5083 MB / 0.8046 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00108/0.5286, allocations: 0.5346 MB / 0.8051 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001584/0.5302, allocations: 0.7021 MB / 0.8058 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/0.5302, allocations: 4 kB / 0.8058 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002545/0.5327, allocations: 1.008 MB / 0.8068 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.5328, allocations: 8.062 kB / 0.8068 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.5328, allocations: 8 kB / 0.8068 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009935/0.5338, allocations: 298.9 kB / 0.8071 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/0.5343, allocations: 131.8 kB / 0.8072 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.5356, allocations: 0.8918 MB / 0.8081 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.5368, allocations: 127.7 kB / 0.8082 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.5368, allocations: 31.98 kB / 0.8082 GB, free: 13.46 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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.0002305/0.5371, allocations: 228 kB / 0.8084 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.5373, allocations: 119.2 kB / 0.8085 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003541/0.5408, allocations: 1.078 MB / 0.8096 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.5408, allocations: 7.922 kB / 0.8096 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.5408, allocations: 4 kB / 0.8096 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.5412, allocations: 272.1 kB / 0.8099 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.5413, allocations: 8 kB / 0.8099 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007213/0.542, allocations: 67.91 kB / 0.8099 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.5421, allocations: 24.41 kB / 0.81 GB, free: 11.61 MB / 0.6231 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002521/0.5446, allocations: 0.7731 MB / 0.8107 GB, free: 10.84 MB / 0.6231 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon could not be translated [Timeout remaining time 659]