Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001064/0.001064, allocations: 110.7 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.001062/0.001062, allocations: 189.5 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.32/1.32, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8446/0.8446, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 61.47 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1585, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05571/0.2143, allocations: 61.2 MB / 0.7361 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.2298, allocations: 12.01 MB / 0.7478 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.2316, allocations: 59.62 kB / 0.7479 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.2333, allocations: 0.6948 MB / 0.7486 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3162/0.5496, allocations: 2.06 MB / 0.7506 GB, free: 19.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.5524, allocations: 1.215 MB / 0.7518 GB, free: 19.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003766/0.5562, allocations: 3.093 MB / 0.7548 GB, free: 19.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.5577, allocations: 1.095 MB / 0.7558 GB, free: 19.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/0.5608, allocations: 1.364 MB / 0.7572 GB, free: 19.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.5622, allocations: 0.9061 MB / 0.7581 GB, free: 18.9 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.5624, allocations: 115.1 kB / 0.7582 GB, free: 18.9 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/0.5657, allocations: 1.459 MB / 0.7596 GB, free: 18.9 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.566, allocations: 291.4 kB / 0.7599 GB, free: 18.85 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008188/0.5669, allocations: 0.6864 MB / 0.7605 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003397/0.5703, allocations: 2.422 MB / 0.7629 GB, free: 18.37 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5703, allocations: 0.6875 kB / 0.7629 GB, free: 18.37 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5703, allocations: 4 kB / 0.7629 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.5703, allocations: 0 / 0.7629 GB, free: 18.36 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.003064/0.5734, allocations: 1.73 MB / 0.7646 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5734, allocations: 8.922 kB / 0.7646 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.5752, allocations: 339.8 kB / 0.7649 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.5772, allocations: 1.161 MB / 0.7661 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/0.5773, allocations: 65.34 kB / 0.7661 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.5774, allocations: 84.45 kB / 0.7662 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.5793, allocations: 0.9656 MB / 0.7672 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.5793, allocations: 5.094 kB / 0.7672 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.369e-05/0.5794, allocations: 32.75 kB / 0.7672 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.5795, allocations: 19.5 kB / 0.7672 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.5814, allocations: 0.8037 MB / 0.768 GB, free: 16.73 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.005347/0.5868, allocations: 5.143 MB / 0.773 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.5883, allocations: 0.5572 MB / 0.7736 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005643/0.5889, allocations: 264.9 kB / 0.7738 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/0.5899, allocations: 1.369 MB / 0.7751 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.59, allocations: 42.03 kB / 0.7752 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.355e-06/0.59, allocations: 0 / 0.7752 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007954/0.5979, allocations: 1.761 MB / 0.7769 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.598, allocations: 55.03 kB / 0.777 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.5995, allocations: 1.074 MB / 0.778 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-05/0.5996, allocations: 35.83 kB / 0.778 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.6, allocations: 0.5308 MB / 0.7786 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.6001, allocations: 154.2 kB / 0.7787 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.6003, allocations: 134 kB / 0.7788 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.6004, allocations: 336 kB / 0.7792 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007483/0.6011, allocations: 276 kB / 0.7794 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008716/0.602, allocations: 0.5009 MB / 0.7799 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.6034, allocations: 0.6596 MB / 0.7806 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.6034, allocations: 1.344 kB / 0.7806 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00235/0.6058, allocations: 0.9517 MB / 0.7815 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.6058, allocations: 14.25 kB / 0.7815 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.6058, allocations: 8.625 kB / 0.7815 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.6071, allocations: 309.7 kB / 0.7818 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.6075, allocations: 116.1 kB / 0.7819 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.6088, allocations: 0.8954 MB / 0.7828 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.61, allocations: 148.4 kB / 0.7829 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.895e-05/0.6101, allocations: 28.25 kB / 0.783 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001046/0.6111, allocations: 492.3 kB / 0.7834 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008409/0.612, allocations: 0.4908 MB / 0.7839 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001265/0.6133, allocations: 0.6632 MB / 0.7845 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.826e-06/0.6133, allocations: 0 / 0.7845 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002164/0.6155, allocations: 0.9397 MB / 0.7855 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.6155, allocations: 10.81 kB / 0.7855 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6155, allocations: 6.094 kB / 0.7855 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009618/0.6165, allocations: 288.8 kB / 0.7858 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.6169, allocations: 123.1 kB / 0.7859 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.6181, allocations: 0.897 MB / 0.7868 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.6192, allocations: 123.1 kB / 0.7869 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.6193, allocations: 32.19 kB / 0.7869 GB, free: 8.105 MB / 0.5762 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.0001761/0.6195, allocations: 218.7 kB / 0.7871 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.6196, allocations: 117.4 kB / 0.7872 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/0.6231, allocations: 1.061 MB / 0.7883 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.6231, allocations: 2.438 kB / 0.7883 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.6231, allocations: 2 kB / 0.7883 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.6235, allocations: 257.8 kB / 0.7885 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.6237, allocations: 9.781 kB / 0.7885 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000682/0.6244, allocations: 59.58 kB / 0.7886 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.6245, allocations: 33.72 kB / 0.7886 GB, free: 7.273 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.00243/0.6269, allocations: 0.7354 MB / 0.7893 GB, free: 7.027 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity could not be translated