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.001112/0.001112, allocations: 109.7 kB / 16.41 MB, free: 6.465 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.001158/0.001158, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00217/0.002171, allocations: 286.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9913/0.9913, allocations: 169.3 MB / 0.499 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 99.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4173, allocations: 86.99 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06166/0.4789, allocations: 61.22 MB / 0.8269 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01643/0.4954, allocations: 12.01 MB / 0.8386 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.4974, allocations: 55.69 kB / 0.8387 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.4994, allocations: 0.6986 MB / 0.8393 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005296/0.5047, allocations: 2.074 MB / 0.8414 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.5077, allocations: 1.206 MB / 0.8425 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003981/0.5117, allocations: 3.114 MB / 0.8456 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.5134, allocations: 1.112 MB / 0.8467 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.5164, allocations: 1.375 MB / 0.848 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.5181, allocations: 0.9061 MB / 0.8489 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000312/0.5184, allocations: 116 kB / 0.849 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.5214, allocations: 1.439 MB / 0.8504 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.5218, allocations: 302.8 kB / 0.8507 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.5229, allocations: 0.692 MB / 0.8514 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003709/0.5266, allocations: 2.324 MB / 0.8536 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5266, allocations: 0 / 0.8536 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5266, allocations: 0 / 0.8536 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.955e-05/0.5267, allocations: 0 / 0.8536 GB, free: 10.97 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.003605/0.5303, allocations: 1.746 MB / 0.8553 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.5303, allocations: 8.031 kB / 0.8554 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002308/0.5327, allocations: 410.8 kB / 0.8557 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.5351, allocations: 1.171 MB / 0.8569 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/0.5351, allocations: 58 kB / 0.8569 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.5353, allocations: 84 kB / 0.857 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.5375, allocations: 1.025 MB / 0.858 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.5375, allocations: 0 / 0.858 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-05/0.5376, allocations: 32 kB / 0.8581 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.5376, allocations: 20 kB / 0.8581 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.5401, allocations: 0.8897 MB / 0.8589 GB, free: 5.355 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.006534/0.5466, allocations: 5.259 MB / 0.8641 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/0.5502, allocations: 0.7861 MB / 0.8649 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008237/0.5511, allocations: 312.5 kB / 0.8651 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006161/0.5517, allocations: 0.9064 MB / 0.866 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.5517, allocations: 46.44 kB / 0.8661 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 2.124e-06/0.5517, allocations: 0 / 0.8661 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.008815/0.5606, allocations: 1.889 MB / 0.8679 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.5606, allocations: 55.41 kB / 0.868 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.5626, allocations: 1.084 MB / 0.869 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.036e-05/0.5627, allocations: 37.7 kB / 0.8691 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004385/0.5631, allocations: 0.535 MB / 0.8696 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.5633, allocations: 149.8 kB / 0.8697 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.5635, allocations: 138.1 kB / 0.8699 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5636, allocations: 330 kB / 0.8702 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.5647, allocations: 331.1 kB / 0.8705 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.5659, allocations: 0.5503 MB / 0.871 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.5679, allocations: 0.7455 MB / 0.8718 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.5679, allocations: 0 / 0.8718 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004081/0.572, allocations: 1.18 MB / 0.8729 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5721, allocations: 8 kB / 0.8729 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.5721, allocations: 4.094 kB / 0.8729 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.5734, allocations: 308.6 kB / 0.8732 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.574, allocations: 131.8 kB / 0.8733 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.5755, allocations: 0.8996 MB / 0.8742 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.5769, allocations: 159.2 kB / 0.8744 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.349e-05/0.577, allocations: 35.98 kB / 0.8744 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001329/0.5784, allocations: 0.5168 MB / 0.8749 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001173/0.5795, allocations: 0.5502 MB / 0.8755 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001822/0.5814, allocations: 0.7374 MB / 0.8762 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/0.5814, allocations: 0 / 0.8762 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003848/0.5852, allocations: 1.157 MB / 0.8773 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.5853, allocations: 8 kB / 0.8773 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5853, allocations: 8 kB / 0.8773 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.5864, allocations: 299.7 kB / 0.8776 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.587, allocations: 131.8 kB / 0.8777 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.5884, allocations: 0.8995 MB / 0.8786 GB, free: 120 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.5898, allocations: 143.7 kB / 0.8787 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/0.5899, allocations: 35.91 kB / 0.8788 GB, free: 15.94 MB / 0.6544 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.0002326/0.5901, allocations: 227.9 kB / 0.879 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.5904, allocations: 110.6 kB / 0.8791 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004104/0.5945, allocations: 1.119 MB / 0.8802 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5945, allocations: 0 / 0.8802 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.5945, allocations: 4 kB / 0.8802 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/0.5951, allocations: 267.5 kB / 0.8805 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.5953, allocations: 8 kB / 0.8805 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008989/0.5962, allocations: 79.83 kB / 0.8805 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.5963, allocations: 32.48 kB / 0.8806 GB, free: 14.07 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.002952/0.5993, allocations: 0.7811 MB / 0.8813 GB, free: 13.29 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