Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001113, allocations: 117 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.001065/0.001065, allocations: 182.8 kB / 17.35 MB, free: 5.625 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.303/1.303, allocations: 222.9 MB / 241.1 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.8362/0.8362, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 63.78 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1508, allocations: 82.03 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05501/0.2058, allocations: 61.17 MB / 0.736 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01542/0.2213, allocations: 12 MB / 0.7478 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.223, allocations: 55.69 kB / 0.7478 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.2248, allocations: 0.7025 MB / 0.7485 GB, free: 200 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3228/0.5476, allocations: 2.058 MB / 0.7505 GB, free: 19.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.5509, allocations: 1.212 MB / 0.7517 GB, free: 19.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004563/0.5554, allocations: 3.085 MB / 0.7547 GB, free: 19.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.5576, allocations: 1.099 MB / 0.7558 GB, free: 19.11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003631/0.5612, allocations: 1.374 MB / 0.7571 GB, free: 19.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.5635, allocations: 0.8907 MB / 0.758 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005106/0.564, allocations: 115.3 kB / 0.7581 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004091/0.5681, allocations: 1.436 MB / 0.7595 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005151/0.5686, allocations: 289.4 kB / 0.7598 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.57, allocations: 0.695 MB / 0.7605 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.5746, allocations: 2.403 MB / 0.7628 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5746, allocations: 0.6562 kB / 0.7628 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5746, allocations: 4.656 kB / 0.7628 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.988e-05/0.5747, allocations: 0 / 0.7628 GB, free: 18.41 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.003686/0.5784, allocations: 1.778 MB / 0.7645 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5784, allocations: 8.828 kB / 0.7646 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/0.5807, allocations: 415.1 kB / 0.7649 GB, free: 17.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.5831, allocations: 1.171 MB / 0.7661 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.295e-05/0.5831, allocations: 64.91 kB / 0.7662 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.5833, allocations: 82.88 kB / 0.7662 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.5853, allocations: 0.9988 MB / 0.7672 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.5853, allocations: 4.75 kB / 0.7672 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-05/0.5854, allocations: 36 kB / 0.7672 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.5855, allocations: 19.78 kB / 0.7673 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.5877, allocations: 0.854 MB / 0.7681 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.005854/0.5936, allocations: 5.25 MB / 0.7732 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/0.5967, allocations: 0.778 MB / 0.774 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/0.5974, allocations: 295.3 kB / 0.7743 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004379/0.5979, allocations: 0.9039 MB / 0.7752 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.5979, allocations: 43.84 kB / 0.7752 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.374e-06/0.5979, allocations: 0 / 0.7752 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008048/0.606, allocations: 1.853 MB / 0.777 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.606, allocations: 55.56 kB / 0.7771 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.6076, allocations: 1.074 MB / 0.7781 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.295e-05/0.6077, allocations: 39.09 kB / 0.7781 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.608, allocations: 0.5349 MB / 0.7787 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.6081, allocations: 165.3 kB / 0.7788 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.6083, allocations: 137.3 kB / 0.779 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.6084, allocations: 327 kB / 0.7793 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000837/0.6093, allocations: 311.1 kB / 0.7796 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009781/0.6102, allocations: 0.5305 MB / 0.7801 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.6117, allocations: 0.7163 MB / 0.7808 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.6118, allocations: 1.375 kB / 0.7808 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002541/0.6143, allocations: 1.025 MB / 0.7818 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.6143, allocations: 7.125 kB / 0.7818 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.6143, allocations: 4.75 kB / 0.7818 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.6157, allocations: 311.1 kB / 0.7821 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/0.6163, allocations: 132.6 kB / 0.7822 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.6177, allocations: 0.8911 MB / 0.7831 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.6192, allocations: 160.9 kB / 0.7832 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/0.6193, allocations: 29.25 kB / 0.7833 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001254/0.6205, allocations: 0.5114 MB / 0.7838 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000904/0.6215, allocations: 0.5348 MB / 0.7843 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001378/0.6228, allocations: 0.7114 MB / 0.785 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.6229, allocations: 0 / 0.785 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002351/0.6252, allocations: 1.005 MB / 0.786 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.6252, allocations: 7.562 kB / 0.786 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6253, allocations: 2.812 kB / 0.786 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009802/0.6262, allocations: 305.1 kB / 0.7863 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/0.6268, allocations: 125.2 kB / 0.7864 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.6279, allocations: 0.9005 MB / 0.7873 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.6292, allocations: 131.3 kB / 0.7874 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/0.6293, allocations: 35.81 kB / 0.7874 GB, free: 8.363 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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.0002084/0.6295, allocations: 217.5 kB / 0.7876 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.6297, allocations: 120.5 kB / 0.7877 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003508/0.6332, allocations: 1.095 MB / 0.7888 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.6332, allocations: 5.578 kB / 0.7888 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6332, allocations: 0 / 0.7888 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/0.6336, allocations: 266.9 kB / 0.7891 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.6338, allocations: 8 kB / 0.7891 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007473/0.6345, allocations: 75.08 kB / 0.7892 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.6346, allocations: 29.56 kB / 0.7892 GB, free: 7.5 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.002424/0.637, allocations: 0.7641 MB / 0.7899 GB, free: 7.254 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon could not be translated