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) 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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 112 kB / 16.42 MB, free: 6.512 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.001396/0.001396, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7607/0.7607, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 64 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1437, allocations: 80.92 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05548/0.1992, allocations: 61.16 MB / 0.725 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01561/0.2148, allocations: 11.98 MB / 0.7367 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.2169, allocations: 59.62 kB / 0.7368 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.219, allocations: 0.687 MB / 0.7375 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005189/0.2243, allocations: 2.072 MB / 0.7395 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.2274, allocations: 1.213 MB / 0.7407 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004286/0.2317, allocations: 3.087 MB / 0.7437 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001982/0.2337, allocations: 1.104 MB / 0.7448 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/0.2371, allocations: 1.367 MB / 0.7461 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.2389, allocations: 0.8867 MB / 0.747 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003641/0.2392, allocations: 116 kB / 0.7471 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.2423, allocations: 1.45 MB / 0.7485 GB, free: 308 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004023/0.2427, allocations: 282.9 kB / 0.7488 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3393/0.582, allocations: 0.6914 MB / 0.7494 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004403/0.5865, allocations: 2.298 MB / 0.7517 GB, free: 23.15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5865, allocations: 0 / 0.7517 GB, free: 23.15 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5865, allocations: 1.062 kB / 0.7517 GB, free: 23.15 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.924e-05/0.5865, allocations: 0 / 0.7517 GB, free: 23.15 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.002995/0.5895, allocations: 1.731 MB / 0.7534 GB, free: 22.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.5896, allocations: 13.17 kB / 0.7534 GB, free: 22.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.5917, allocations: 408.2 kB / 0.7538 GB, free: 22.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.5938, allocations: 1.157 MB / 0.7549 GB, free: 21.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.601e-05/0.5939, allocations: 60.88 kB / 0.755 GB, free: 21.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.594, allocations: 85.81 kB / 0.755 GB, free: 21.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.596, allocations: 1 MB / 0.756 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.5961, allocations: 1.125 kB / 0.756 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.114e-05/0.5961, allocations: 29.34 kB / 0.7561 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.5962, allocations: 19.41 kB / 0.7561 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/0.5985, allocations: 0.86 MB / 0.7569 GB, free: 21.64 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.006072/0.6045, allocations: 5.213 MB / 0.762 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003635/0.6082, allocations: 0.7819 MB / 0.7628 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008061/0.609, allocations: 298.7 kB / 0.763 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004403/0.6095, allocations: 0.9051 MB / 0.7639 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.6095, allocations: 39.59 kB / 0.764 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/0.6095, allocations: 4 kB / 0.764 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008309/0.6178, allocations: 1.859 MB / 0.7658 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.6178, allocations: 55.81 kB / 0.7658 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.6194, allocations: 1.075 MB / 0.7669 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.6195, allocations: 43.17 kB / 0.7669 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.6199, allocations: 0.5253 MB / 0.7674 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.62, allocations: 151.5 kB / 0.7676 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.6202, allocations: 139.7 kB / 0.7677 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.249e-05/0.6203, allocations: 327.1 kB / 0.768 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008284/0.6211, allocations: 311.2 kB / 0.7683 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009517/0.6221, allocations: 0.5338 MB / 0.7689 GB, free: 16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.6236, allocations: 0.7134 MB / 0.7696 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.6236, allocations: 1.406 kB / 0.7696 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002671/0.6263, allocations: 1.014 MB / 0.7705 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.6263, allocations: 6.781 kB / 0.7705 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.6264, allocations: 5.781 kB / 0.7706 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.6276, allocations: 312.2 kB / 0.7709 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/0.6281, allocations: 125.7 kB / 0.771 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.6294, allocations: 0.8906 MB / 0.7718 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.6306, allocations: 161.8 kB / 0.772 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-05/0.6307, allocations: 33.8 kB / 0.772 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001166/0.6319, allocations: 0.5087 MB / 0.7725 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009395/0.6328, allocations: 0.5335 MB / 0.773 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001511/0.6343, allocations: 0.7121 MB / 0.7737 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.507e-06/0.6344, allocations: 1.344 kB / 0.7737 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002516/0.6369, allocations: 1.004 MB / 0.7747 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.6369, allocations: 7.812 kB / 0.7747 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6369, allocations: 5.094 kB / 0.7747 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.6379, allocations: 297.3 kB / 0.775 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.6385, allocations: 132.5 kB / 0.7751 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.6397, allocations: 0.8976 MB / 0.776 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.6411, allocations: 132.1 kB / 0.7761 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.6411, allocations: 33 kB / 0.7762 GB, free: 13.8 MB / 0.5762 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.0002398/0.6414, allocations: 228.2 kB / 0.7764 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.6416, allocations: 112.6 kB / 0.7765 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/0.6452, allocations: 1.084 MB / 0.7776 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.6452, allocations: 6.906 kB / 0.7776 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6452, allocations: 0 / 0.7776 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/0.6456, allocations: 258.4 kB / 0.7778 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.6458, allocations: 10.88 kB / 0.7778 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007402/0.6465, allocations: 74.64 kB / 0.7779 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.6466, allocations: 26.23 kB / 0.7779 GB, free: 13.29 MB / 0.5762 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.002545/0.6492, allocations: 0.7657 MB / 0.7787 GB, free: 13.17 MB / 0.5762 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