Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001729/0.00173, allocations: 116.2 kB / 16.42 MB, free: 6.496 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.001907/0.001907, 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.16 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.8542/0.8542, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 68.98 kB / 0.5962 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1318, allocations: 82.03 MB / 0.6763 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05918/0.191, allocations: 61.2 MB / 0.7361 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.2065, allocations: 12 MB / 0.7478 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.208, allocations: 55.69 kB / 0.7479 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.2097, allocations: 0.7025 MB / 0.7486 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.2946/0.5044, allocations: 2.065 MB / 0.7506 GB, free: 19.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.507, allocations: 1.2 MB / 0.7517 GB, free: 19.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003435/0.5105, allocations: 3.102 MB / 0.7548 GB, free: 19.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.5118, allocations: 1.098 MB / 0.7558 GB, free: 19 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.5145, allocations: 1.365 MB / 0.7572 GB, free: 18.99 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.5157, allocations: 0.8961 MB / 0.7581 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.5159, allocations: 115.3 kB / 0.7582 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.5188, allocations: 1.456 MB / 0.7596 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.5191, allocations: 292.7 kB / 0.7599 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007453/0.5198, allocations: 0.6949 MB / 0.7605 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.5228, allocations: 2.406 MB / 0.7629 GB, free: 18.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5228, allocations: 4.031 kB / 0.7629 GB, free: 18.31 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5228, allocations: 0.5625 kB / 0.7629 GB, free: 18.31 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.5229, allocations: 4 kB / 0.7629 GB, free: 18.3 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.002875/0.5257, allocations: 1.734 MB / 0.7646 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5258, allocations: 9.5 kB / 0.7646 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.5279, allocations: 408.3 kB / 0.765 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.5299, allocations: 1.16 MB / 0.7661 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/0.5299, allocations: 66.25 kB / 0.7662 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.5301, allocations: 84.06 kB / 0.7663 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.532, allocations: 1.001 MB / 0.7672 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.532, allocations: 5.547 kB / 0.7673 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-05/0.5321, allocations: 38.06 kB / 0.7673 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.5322, allocations: 18.31 kB / 0.7673 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.5344, allocations: 0.8593 MB / 0.7681 GB, free: 16.66 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.005202/0.5396, allocations: 5.238 MB / 0.7733 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.5429, allocations: 0.7758 MB / 0.774 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006929/0.5436, allocations: 304.5 kB / 0.7743 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004075/0.544, allocations: 0.9075 MB / 0.7752 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.544, allocations: 39.81 kB / 0.7752 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.324e-06/0.544, allocations: 0 / 0.7752 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008152/0.5522, allocations: 1.865 MB / 0.7771 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.54e-05/0.5522, allocations: 57.16 kB / 0.7771 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.5536, allocations: 1.075 MB / 0.7782 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.5537, allocations: 36.58 kB / 0.7782 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.554, allocations: 0.5303 MB / 0.7787 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.933e-05/0.5541, allocations: 152.2 kB / 0.7789 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.5543, allocations: 135.6 kB / 0.779 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.5544, allocations: 327.7 kB / 0.7793 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000886/0.5553, allocations: 311.7 kB / 0.7796 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009877/0.5563, allocations: 0.5346 MB / 0.7801 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.5578, allocations: 0.7167 MB / 0.7808 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5579, allocations: 1.375 kB / 0.7808 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003427/0.5613, allocations: 1.153 MB / 0.7819 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5613, allocations: 6.781 kB / 0.782 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5613, allocations: 6.125 kB / 0.782 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.5625, allocations: 305.3 kB / 0.7822 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.5631, allocations: 128.4 kB / 0.7824 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.5644, allocations: 0.9075 MB / 0.7833 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.5656, allocations: 148.2 kB / 0.7834 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.5657, allocations: 31.91 kB / 0.7834 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001109/0.5668, allocations: 0.5113 MB / 0.7839 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009311/0.5677, allocations: 0.5258 MB / 0.7844 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001466/0.5692, allocations: 0.7093 MB / 0.7851 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/0.5692, allocations: 0 / 0.7851 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003117/0.5723, allocations: 1.139 MB / 0.7862 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.5723, allocations: 6.281 kB / 0.7863 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5724, allocations: 9.188 kB / 0.7863 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009803/0.5733, allocations: 297.2 kB / 0.7865 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.5739, allocations: 133.2 kB / 0.7867 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.5751, allocations: 0.8927 MB / 0.7875 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.5762, allocations: 137.6 kB / 0.7877 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.5763, allocations: 37.33 kB / 0.7877 GB, free: 8.266 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.0001606/0.5765, allocations: 219.4 kB / 0.7879 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.5766, allocations: 108.1 kB / 0.788 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003616/0.5803, allocations: 1.104 MB / 0.7891 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.5803, allocations: 5.641 kB / 0.7891 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5803, allocations: 2.688 kB / 0.7891 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.5806, allocations: 263.9 kB / 0.7894 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.5808, allocations: 10.55 kB / 0.7894 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000739/0.5815, allocations: 69.14 kB / 0.7894 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.5816, allocations: 32.88 kB / 0.7895 GB, free: 7.41 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.002557/0.5841, allocations: 0.765 MB / 0.7902 GB, free: 7.086 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_etaPL could not be translated