Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 112.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.001503/0.001503, allocations: 190.7 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.349/1.349, 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.8513/0.8513, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.89 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1354, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05664/0.1921, allocations: 61.2 MB / 0.7361 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01542/0.2075, allocations: 12 MB / 0.7478 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.2087, allocations: 59.62 kB / 0.7479 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.2103, allocations: 0.6986 MB / 0.7485 GB, free: 132 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.2931/0.5034, allocations: 2.063 MB / 0.7506 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.5061, allocations: 1.212 MB / 0.7517 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003454/0.5095, allocations: 3.099 MB / 0.7548 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.511, allocations: 1.13 MB / 0.7559 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.5137, allocations: 1.357 MB / 0.7572 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.515, allocations: 0.9104 MB / 0.7581 GB, free: 18.92 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.5152, allocations: 123.2 kB / 0.7582 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.5181, allocations: 1.443 MB / 0.7596 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.5184, allocations: 294.2 kB / 0.7599 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007445/0.5192, allocations: 0.7056 MB / 0.7606 GB, free: 18.67 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003086/0.5223, allocations: 2.432 MB / 0.7629 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5223, allocations: 1.125 kB / 0.763 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5223, allocations: 0 / 0.763 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.5223, allocations: 0 / 0.763 GB, free: 18.38 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003103/0.5254, allocations: 1.731 MB / 0.7646 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.5255, allocations: 13.86 kB / 0.7647 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/0.528, allocations: 451 kB / 0.7651 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.53, allocations: 1.186 MB / 0.7662 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.5301, allocations: 65 kB / 0.7663 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.5302, allocations: 82 kB / 0.7664 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.5324, allocations: 1.002 MB / 0.7674 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.5324, allocations: 0 / 0.7674 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.5325, allocations: 33 kB / 0.7674 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.5325, allocations: 18.75 kB / 0.7674 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.535, allocations: 0.9467 MB / 0.7683 GB, free: 16.79 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.005115/0.5402, allocations: 4.672 MB / 0.7729 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/0.5441, allocations: 0.9897 MB / 0.7739 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.5451, allocations: 414.6 kB / 0.7743 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007009/0.5458, allocations: 1.012 MB / 0.7752 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.5459, allocations: 48.81 kB / 0.7753 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.194e-06/0.5459, allocations: 1.156 kB / 0.7753 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.009205/0.5551, allocations: 2.164 MB / 0.7774 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.697e-05/0.5551, allocations: 56.62 kB / 0.7775 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.5563, allocations: 0.9381 MB / 0.7784 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/0.5564, allocations: 37.45 kB / 0.7784 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.5568, allocations: 0.511 MB / 0.7789 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.557, allocations: 187.5 kB / 0.7791 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.5573, allocations: 125.1 kB / 0.7792 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.5573, allocations: 337.4 kB / 0.7795 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.5584, allocations: 351.1 kB / 0.7799 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.5596, allocations: 0.518 MB / 0.7804 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.5616, allocations: 0.7533 MB / 0.7811 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.5616, allocations: 8 kB / 0.7811 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002836/0.5645, allocations: 1.054 MB / 0.7821 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5645, allocations: 6.875 kB / 0.7822 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5645, allocations: 1.906 kB / 0.7822 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.5657, allocations: 313.3 kB / 0.7825 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/0.5664, allocations: 129.1 kB / 0.7826 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.5676, allocations: 0.892 MB / 0.7834 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009771/0.5686, allocations: 126.5 kB / 0.7836 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-05/0.5687, allocations: 28.64 kB / 0.7836 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0012/0.5699, allocations: 0.5568 MB / 0.7841 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001023/0.5709, allocations: 0.5107 MB / 0.7846 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001875/0.5728, allocations: 0.7412 MB / 0.7854 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.574e-06/0.5728, allocations: 7.469 kB / 0.7854 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002652/0.5755, allocations: 1.049 MB / 0.7864 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.5755, allocations: 6.875 kB / 0.7864 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5755, allocations: 2.75 kB / 0.7864 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.5765, allocations: 298.6 kB / 0.7867 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.5772, allocations: 131.5 kB / 0.7868 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.5784, allocations: 0.8873 MB / 0.7877 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009838/0.5794, allocations: 115 kB / 0.7878 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.052e-05/0.5794, allocations: 29.92 kB / 0.7878 GB, free: 8.949 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0002004/0.5796, allocations: 219.6 kB / 0.788 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.5798, allocations: 106.1 kB / 0.7881 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004364/0.5842, allocations: 1.31 MB / 0.7894 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.5842, allocations: 6.734 kB / 0.7894 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5842, allocations: 0 / 0.7894 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.5846, allocations: 274.9 kB / 0.7897 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.5847, allocations: 10.78 kB / 0.7897 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007568/0.5855, allocations: 76.81 kB / 0.7898 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.5855, allocations: 32.14 kB / 0.7898 GB, free: 7.832 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.003057/0.5886, allocations: 0.8886 MB / 0.7907 GB, free: 7.371 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_reverseFlow could not be translated