Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001169/0.001169, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 301.5 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.9301/0.9301, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 87.86 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4267, allocations: 86.98 MB / 0.7671 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05882/0.4856, allocations: 61.17 MB / 0.8268 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01806/0.5037, allocations: 11.99 MB / 0.8385 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.5058, allocations: 55.69 kB / 0.8386 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.5078, allocations: 0.6869 MB / 0.8392 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005544/0.5134, allocations: 1.965 MB / 0.8412 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.5167, allocations: 1.208 MB / 0.8423 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004401/0.5211, allocations: 3.079 MB / 0.8454 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.5231, allocations: 1.111 MB / 0.8464 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003575/0.5267, allocations: 1.354 MB / 0.8478 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.5284, allocations: 0.8989 MB / 0.8486 GB, free: 224 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003675/0.5288, allocations: 116 kB / 0.8488 GB, free: 108 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/0.5321, allocations: 1.45 MB / 0.8502 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004121/0.5325, allocations: 294.9 kB / 0.8504 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.5338, allocations: 0.6919 MB / 0.8511 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003984/0.5378, allocations: 2.324 MB / 0.8534 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5378, allocations: 0 / 0.8534 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5378, allocations: 0 / 0.8534 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.388e-05/0.5379, allocations: 0 / 0.8534 GB, free: 11.34 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003569/0.5414, allocations: 1.723 MB / 0.8551 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.5415, allocations: 12.02 kB / 0.8551 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.5438, allocations: 406.9 kB / 0.8555 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.5463, allocations: 1.167 MB / 0.8566 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.825e-05/0.5464, allocations: 58 kB / 0.8567 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.5465, allocations: 84 kB / 0.8568 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.5487, allocations: 1.005 MB / 0.8577 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.5488, allocations: 7.938 kB / 0.8577 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-05/0.5488, allocations: 32 kB / 0.8578 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.5489, allocations: 20 kB / 0.8578 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.5513, allocations: 0.8625 MB / 0.8586 GB, free: 5.797 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.006939/0.5582, allocations: 5.235 MB / 0.8637 GB, free: 192 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/0.5617, allocations: 0.7895 MB / 0.8645 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007441/0.5625, allocations: 300.7 kB / 0.8648 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006521/0.5631, allocations: 0.9025 MB / 0.8657 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.5632, allocations: 42.55 kB / 0.8657 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 2.765e-06/0.5632, allocations: 0 / 0.8657 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.008705/0.5719, allocations: 1.861 MB / 0.8675 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.572, allocations: 59.41 kB / 0.8676 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.5738, allocations: 1.076 MB / 0.8686 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.211e-05/0.5739, allocations: 37.7 kB / 0.8687 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.5744, allocations: 0.5273 MB / 0.8692 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.5745, allocations: 149.9 kB / 0.8693 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.5748, allocations: 138.1 kB / 0.8695 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.5749, allocations: 333.9 kB / 0.8698 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009279/0.5758, allocations: 315.2 kB / 0.8701 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.5769, allocations: 0.529 MB / 0.8706 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.5787, allocations: 0.7095 MB / 0.8713 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.5787, allocations: 11.88 kB / 0.8713 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003748/0.5825, allocations: 1.145 MB / 0.8724 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5825, allocations: 7.438 kB / 0.8724 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.5825, allocations: 8 kB / 0.8724 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.5838, allocations: 312 kB / 0.8727 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/0.5844, allocations: 127.8 kB / 0.8729 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.5859, allocations: 0.9074 MB / 0.8738 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.5872, allocations: 147.2 kB / 0.8739 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-05/0.5873, allocations: 32 kB / 0.8739 GB, free: 5.258 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001248/0.5886, allocations: 0.5152 MB / 0.8744 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001094/0.5897, allocations: 0.5251 MB / 0.8749 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001702/0.5914, allocations: 0.7133 MB / 0.8756 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.941e-06/0.5914, allocations: 4 kB / 0.8756 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003653/0.595, allocations: 1.129 MB / 0.8767 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5951, allocations: 8 kB / 0.8768 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.5951, allocations: 4 kB / 0.8768 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.5962, allocations: 300.6 kB / 0.877 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.5968, allocations: 127.8 kB / 0.8772 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.5982, allocations: 0.9021 MB / 0.878 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.5995, allocations: 131.6 kB / 0.8782 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/0.5995, allocations: 35.98 kB / 0.8782 GB, free: 0.668 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.000232/0.5998, allocations: 220.5 kB / 0.8784 GB, free: 456 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.6001, allocations: 114.5 kB / 0.8785 GB, free: 340 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/0.604, allocations: 1.094 MB / 0.8796 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.604, allocations: 7.969 kB / 0.8796 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6041, allocations: 0 / 0.8796 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.6045, allocations: 263.5 kB / 0.8799 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.6047, allocations: 4 kB / 0.8799 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008528/0.6056, allocations: 75.91 kB / 0.8799 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.6057, allocations: 36.33 kB / 0.88 GB, free: 14.82 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.002918/0.6086, allocations: 0.7614 MB / 0.8807 GB, free: 14.07 MB / 0.6544 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL could not be translated