Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001116/0.001116, allocations: 110.8 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.001065/0.001065, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.292/1.292, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00222/0.00222, allocations: 293 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9532/0.9532, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 103.8 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.424, allocations: 86.98 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05467/0.4787, allocations: 61.21 MB / 0.8269 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01605/0.4948, allocations: 12.02 MB / 0.8386 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.4969, allocations: 59.69 kB / 0.8386 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.4987, allocations: 0.6791 MB / 0.8393 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005144/0.5039, allocations: 1.967 MB / 0.8412 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003006/0.5069, allocations: 1.21 MB / 0.8424 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004427/0.5113, allocations: 3.106 MB / 0.8454 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.513, allocations: 1.116 MB / 0.8465 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.516, allocations: 1.362 MB / 0.8479 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.5172, allocations: 0.9022 MB / 0.8487 GB, free: 8 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.5174, allocations: 116 kB / 0.8489 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002865/0.5203, allocations: 1.439 MB / 0.8503 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.5206, allocations: 302.8 kB / 0.8506 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000709/0.5213, allocations: 0.7036 MB / 0.8512 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0032/0.5245, allocations: 2.316 MB / 0.8535 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5245, allocations: 0 / 0.8535 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5245, allocations: 0 / 0.8535 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.283e-05/0.5246, allocations: 0 / 0.8535 GB, free: 11.13 MB / 0.6231 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.002922/0.5275, allocations: 1.75 MB / 0.8552 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.5276, allocations: 12.02 kB / 0.8552 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.5298, allocations: 402.9 kB / 0.8556 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.5319, allocations: 1.175 MB / 0.8568 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.532, allocations: 62 kB / 0.8568 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.5321, allocations: 80 kB / 0.8569 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.5341, allocations: 1.021 MB / 0.8579 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.5342, allocations: 0 / 0.8579 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-05/0.5342, allocations: 32 kB / 0.8579 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.5343, allocations: 20 kB / 0.8579 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.5366, allocations: 0.8898 MB / 0.8588 GB, free: 5.516 MB / 0.6231 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.006101/0.5428, allocations: 5.255 MB / 0.8639 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/0.5463, allocations: 0.7803 MB / 0.8647 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007705/0.5471, allocations: 323.7 kB / 0.865 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005988/0.5477, allocations: 0.9025 MB / 0.8659 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.5477, allocations: 42.44 kB / 0.8659 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 2.414e-06/0.5477, allocations: 4 kB / 0.8659 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.008803/0.5565, allocations: 1.889 MB / 0.8678 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.5566, allocations: 55.41 kB / 0.8678 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.5582, allocations: 1.08 MB / 0.8689 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.054e-05/0.5582, allocations: 37.7 kB / 0.8689 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.5587, allocations: 0.5389 MB / 0.8694 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.5588, allocations: 149.8 kB / 0.8696 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.559, allocations: 138.1 kB / 0.8697 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5591, allocations: 330 kB / 0.87 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009586/0.5601, allocations: 331.1 kB / 0.8704 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.5612, allocations: 0.5464 MB / 0.8709 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/0.5631, allocations: 0.7533 MB / 0.8716 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.5631, allocations: 0 / 0.8716 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003775/0.5669, allocations: 1.176 MB / 0.8728 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.5669, allocations: 8 kB / 0.8728 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5669, allocations: 4 kB / 0.8728 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.5681, allocations: 304.6 kB / 0.8731 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/0.5688, allocations: 139.7 kB / 0.8732 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.5702, allocations: 0.9028 MB / 0.8741 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.5714, allocations: 159.2 kB / 0.8742 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/0.5715, allocations: 31.98 kB / 0.8743 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00125/0.5728, allocations: 0.5246 MB / 0.8748 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001097/0.5739, allocations: 0.5463 MB / 0.8753 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001809/0.5757, allocations: 0.7453 MB / 0.876 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/0.5757, allocations: 0 / 0.876 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003549/0.5793, allocations: 1.145 MB / 0.8772 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.5793, allocations: 8 kB / 0.8772 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5793, allocations: 8 kB / 0.8772 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.5804, allocations: 296.6 kB / 0.8775 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/0.581, allocations: 135.8 kB / 0.8776 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.5823, allocations: 0.8995 MB / 0.8785 GB, free: 280 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.5837, allocations: 139.6 kB / 0.8786 GB, free: 140 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/0.5837, allocations: 35.97 kB / 0.8786 GB, free: 104 kB / 0.6387 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 (58): * Single equations (assignments): 57 * 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.0003079/0.5841, allocations: 221.9 kB / 0.8788 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.5843, allocations: 122.6 kB / 0.879 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004054/0.5883, allocations: 1.124 MB / 0.8801 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.5884, allocations: 3.984 kB / 0.8801 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5884, allocations: 0 / 0.8801 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.5887, allocations: 263.5 kB / 0.8803 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.5889, allocations: 8 kB / 0.8803 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008079/0.5897, allocations: 83.84 kB / 0.8804 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.5898, allocations: 36.39 kB / 0.8804 GB, free: 14.22 MB / 0.6544 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.002826/0.5926, allocations: 0.7733 MB / 0.8812 GB, free: 13.45 MB / 0.6544 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature could not be translated