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.001126/0.001126, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001054/0.001054, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.17 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.8641/0.8641, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 60.7 kB / 0.5962 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1357, allocations: 82.04 MB / 0.6763 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05606/0.1918, allocations: 61.19 MB / 0.7361 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.2071, allocations: 12.01 MB / 0.7478 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.2085, allocations: 55.69 kB / 0.7479 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.2101, allocations: 0.6947 MB / 0.7485 GB, free: 256 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.2978/0.5079, allocations: 2.062 MB / 0.7506 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002917/0.5109, allocations: 1.213 MB / 0.7517 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004011/0.5149, allocations: 3.095 MB / 0.7548 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.5166, allocations: 1.095 MB / 0.7558 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.5197, allocations: 1.363 MB / 0.7572 GB, free: 19.19 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.5215, allocations: 0.9019 MB / 0.7581 GB, free: 19.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003326/0.5218, allocations: 115.2 kB / 0.7582 GB, free: 19.05 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.525, allocations: 1.456 MB / 0.7596 GB, free: 19.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.5254, allocations: 295.6 kB / 0.7599 GB, free: 19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009344/0.5263, allocations: 0.6926 MB / 0.7605 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00317/0.5295, allocations: 2.419 MB / 0.7629 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5295, allocations: 4 kB / 0.7629 GB, free: 18.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5295, allocations: 1.188 kB / 0.7629 GB, free: 18.51 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.951e-05/0.5295, allocations: 0 / 0.7629 GB, free: 18.51 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.002991/0.5325, allocations: 1.73 MB / 0.7646 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5326, allocations: 8.906 kB / 0.7646 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.5344, allocations: 343 kB / 0.7649 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.5366, allocations: 1.153 MB / 0.7661 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.537e-05/0.5367, allocations: 73.41 kB / 0.7661 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.5368, allocations: 82.05 kB / 0.7662 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.5387, allocations: 0.9653 MB / 0.7672 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.5387, allocations: 4.469 kB / 0.7672 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/0.5388, allocations: 33.16 kB / 0.7672 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.5388, allocations: 20.25 kB / 0.7672 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.5408, allocations: 0.8058 MB / 0.768 GB, free: 16.88 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.005159/0.546, allocations: 5.139 MB / 0.773 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.5475, allocations: 0.56 MB / 0.7736 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/0.548, allocations: 262.3 kB / 0.7738 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.5491, allocations: 1.369 MB / 0.7751 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.5491, allocations: 36.69 kB / 0.7752 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.805e-06/0.5492, allocations: 0 / 0.7752 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007821/0.557, allocations: 1.766 MB / 0.7769 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.617e-05/0.557, allocations: 55.44 kB / 0.777 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.5584, allocations: 1.074 MB / 0.778 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.5585, allocations: 35.98 kB / 0.778 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.5588, allocations: 0.53 MB / 0.7786 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/0.5589, allocations: 151.6 kB / 0.7787 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.5591, allocations: 141.5 kB / 0.7788 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.5592, allocations: 325.8 kB / 0.7791 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007492/0.56, allocations: 276.7 kB / 0.7794 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008647/0.5608, allocations: 0.4971 MB / 0.7799 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.5622, allocations: 0.6689 MB / 0.7806 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.5622, allocations: 1.375 kB / 0.7806 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002299/0.5645, allocations: 0.9473 MB / 0.7815 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.5645, allocations: 10.81 kB / 0.7815 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.5645, allocations: 5.5 kB / 0.7815 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.5657, allocations: 309.6 kB / 0.7818 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.5662, allocations: 117.5 kB / 0.7819 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.5675, allocations: 0.8936 MB / 0.7828 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.5686, allocations: 147 kB / 0.7829 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-05/0.5687, allocations: 37.56 kB / 0.7829 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009855/0.5697, allocations: 488.5 kB / 0.7834 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008322/0.5705, allocations: 0.4927 MB / 0.7839 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001291/0.5718, allocations: 0.6635 MB / 0.7845 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.5718, allocations: 1.156 kB / 0.7845 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002184/0.574, allocations: 0.9463 MB / 0.7855 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.5741, allocations: 7.438 kB / 0.7855 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5741, allocations: 9.75 kB / 0.7855 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009493/0.575, allocations: 292.4 kB / 0.7858 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.5755, allocations: 115.8 kB / 0.7859 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.5766, allocations: 0.8992 MB / 0.7868 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.5777, allocations: 123 kB / 0.7869 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.876e-05/0.5778, allocations: 35.53 kB / 0.7869 GB, free: 8.301 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.0001525/0.5779, allocations: 229.7 kB / 0.7871 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.5781, allocations: 116.1 kB / 0.7872 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003442/0.5816, allocations: 1.052 MB / 0.7883 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.5816, allocations: 0.75 kB / 0.7883 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.5816, allocations: 6.578 kB / 0.7883 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.5819, allocations: 253.8 kB / 0.7885 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.5821, allocations: 6.469 kB / 0.7885 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006906/0.5828, allocations: 62.42 kB / 0.7886 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/0.5828, allocations: 30.2 kB / 0.7886 GB, free: 7.461 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.002425/0.5853, allocations: 0.7323 MB / 0.7893 GB, free: 7.219 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