Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 110.1 kB / 16.41 MB, free: 6.5 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.001714/0.001714, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.404/1.404, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 302.1 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9506/0.9506, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 100.2 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4082, allocations: 86.98 MB / 0.7671 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06162/0.4699, allocations: 61.17 MB / 0.8268 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.4863, allocations: 12 MB / 0.8385 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001862/0.4882, allocations: 55.69 kB / 0.8386 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.4902, allocations: 0.7025 MB / 0.8393 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005207/0.4954, allocations: 2.066 MB / 0.8413 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.4985, allocations: 1.21 MB / 0.8425 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003961/0.5025, allocations: 3.103 MB / 0.8455 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.5042, allocations: 1.1 MB / 0.8466 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.5073, allocations: 1.362 MB / 0.8479 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.5091, allocations: 0.8944 MB / 0.8488 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000303/0.5095, allocations: 116 kB / 0.8489 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003154/0.5126, allocations: 1.462 MB / 0.8503 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004166/0.5131, allocations: 298.9 kB / 0.8506 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.5141, allocations: 0.6841 MB / 0.8513 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003662/0.5178, allocations: 2.32 MB / 0.8535 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5178, allocations: 4 kB / 0.8535 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5178, allocations: 0 / 0.8535 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.909e-05/0.5179, allocations: 0 / 0.8535 GB, free: 11.09 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.003607/0.5215, allocations: 1.73 MB / 0.8552 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5215, allocations: 8.031 kB / 0.8552 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.5234, allocations: 343 kB / 0.8556 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.5258, allocations: 1.16 MB / 0.8567 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/0.5259, allocations: 62 kB / 0.8567 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.526, allocations: 80 kB / 0.8568 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.528, allocations: 0.9742 MB / 0.8578 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.528, allocations: 4 kB / 0.8578 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.217e-05/0.5281, allocations: 36 kB / 0.8578 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.5282, allocations: 20 kB / 0.8578 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.5303, allocations: 0.8 MB / 0.8586 GB, free: 5.711 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.006357/0.5366, allocations: 5.14 MB / 0.8636 GB, free: 200 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.5381, allocations: 0.5543 MB / 0.8642 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/0.5388, allocations: 264 kB / 0.8644 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/0.5401, allocations: 1.376 MB / 0.8658 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.5401, allocations: 38.56 kB / 0.8658 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.825e-06/0.5402, allocations: 0 / 0.8658 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.008085/0.5482, allocations: 1.756 MB / 0.8675 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.5483, allocations: 55.41 kB / 0.8676 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.5498, allocations: 1.076 MB / 0.8686 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/0.5499, allocations: 33.7 kB / 0.8687 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/0.5503, allocations: 0.5388 MB / 0.8692 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.5505, allocations: 149.8 kB / 0.8693 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.5507, allocations: 138.2 kB / 0.8695 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5508, allocations: 326 kB / 0.8698 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007789/0.5516, allocations: 275.3 kB / 0.87 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009485/0.5526, allocations: 0.5017 MB / 0.8705 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.554, allocations: 0.655 MB / 0.8712 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.554, allocations: 4 kB / 0.8712 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002463/0.5565, allocations: 0.9614 MB / 0.8721 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.5565, allocations: 8 kB / 0.8721 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5565, allocations: 7.938 kB / 0.8721 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.5578, allocations: 308.7 kB / 0.8724 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.5583, allocations: 119.8 kB / 0.8725 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.5597, allocations: 0.9026 MB / 0.8734 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.5608, allocations: 151.2 kB / 0.8736 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.5609, allocations: 27.98 kB / 0.8736 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001069/0.562, allocations: 493.2 kB / 0.8741 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009279/0.5629, allocations: 0.4978 MB / 0.8745 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001381/0.5643, allocations: 0.6471 MB / 0.8752 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.5643, allocations: 0 / 0.8752 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002361/0.5667, allocations: 0.9383 MB / 0.8761 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5667, allocations: 8 kB / 0.8761 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5667, allocations: 4 kB / 0.8761 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.5678, allocations: 304.6 kB / 0.8764 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/0.5683, allocations: 115.9 kB / 0.8765 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.5696, allocations: 0.8957 MB / 0.8774 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.5707, allocations: 123.5 kB / 0.8775 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.5708, allocations: 35.98 kB / 0.8775 GB, free: 1.164 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.0002038/0.571, allocations: 220.5 kB / 0.8777 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.5712, allocations: 110.7 kB / 0.8778 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/0.5748, allocations: 1.052 MB / 0.8789 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.5748, allocations: 3.984 kB / 0.8789 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.5748, allocations: 0 / 0.8789 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.5752, allocations: 259.5 kB / 0.8791 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.5754, allocations: 12 kB / 0.8791 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006839/0.5761, allocations: 59.88 kB / 0.8792 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.5762, allocations: 32.39 kB / 0.8792 GB, free: 15.4 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.002598/0.5788, allocations: 0.7263 MB / 0.8799 GB, free: 14.67 MB / 0.6544 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity could not be translated