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.001447/0.001447, allocations: 115.9 kB / 16.42 MB, free: 6.465 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.001565/0.001565, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.326/1.326, 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.857/0.857, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 68.08 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1336, 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.05644/0.1901, allocations: 61.17 MB / 0.736 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.2059, allocations: 12 MB / 0.7478 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.2076, allocations: 59.62 kB / 0.7478 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.2093, allocations: 0.6948 MB / 0.7485 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3018/0.5111, allocations: 2.061 MB / 0.7505 GB, free: 19.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.5138, allocations: 1.217 MB / 0.7517 GB, free: 19.22 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003581/0.5174, allocations: 3.086 MB / 0.7547 GB, free: 19.22 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.5188, allocations: 1.104 MB / 0.7558 GB, free: 19.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002773/0.5216, allocations: 1.359 MB / 0.7571 GB, free: 19.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.5228, allocations: 0.9006 MB / 0.758 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.5231, allocations: 114.5 kB / 0.7581 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.5259, allocations: 1.439 MB / 0.7595 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.5262, allocations: 285.7 kB / 0.7598 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007664/0.527, allocations: 0.6961 MB / 0.7605 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.5301, allocations: 2.391 MB / 0.7628 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.5301, allocations: 0.5312 kB / 0.7628 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5301, allocations: 4 kB / 0.7628 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.5302, allocations: 0.5625 kB / 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.002992/0.5332, allocations: 1.729 MB / 0.7645 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.5332, allocations: 9.562 kB / 0.7645 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.5353, allocations: 408.5 kB / 0.7649 GB, free: 17.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.5373, allocations: 1.158 MB / 0.766 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.5374, allocations: 68.38 kB / 0.7661 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.5375, allocations: 83.12 kB / 0.7662 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.5394, allocations: 0.9967 MB / 0.7671 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.5395, allocations: 5.188 kB / 0.7671 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.009e-05/0.5396, allocations: 33.88 kB / 0.7672 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.5396, allocations: 19.53 kB / 0.7672 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.5418, allocations: 0.8588 MB / 0.768 GB, free: 16.77 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.005197/0.5471, allocations: 5.239 MB / 0.7731 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003195/0.5503, allocations: 0.7784 MB / 0.7739 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006781/0.551, allocations: 298.5 kB / 0.7742 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004324/0.5514, allocations: 0.9011 MB / 0.7751 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.5514, allocations: 39.44 kB / 0.7751 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.524e-06/0.5514, allocations: 0 / 0.7751 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008175/0.5596, allocations: 1.853 MB / 0.7769 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.5597, allocations: 55.91 kB / 0.777 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.5612, allocations: 1.077 MB / 0.778 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.789e-05/0.5613, allocations: 36.53 kB / 0.7781 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.5616, allocations: 0.5268 MB / 0.7786 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.5617, allocations: 151.3 kB / 0.7787 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.562, allocations: 140.4 kB / 0.7788 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.562, allocations: 327.2 kB / 0.7792 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008425/0.5629, allocations: 313 kB / 0.7795 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009605/0.5638, allocations: 0.5382 MB / 0.78 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.5654, allocations: 0.7096 MB / 0.7807 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.5654, allocations: 1.375 kB / 0.7807 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002529/0.568, allocations: 1.015 MB / 0.7817 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.568, allocations: 10.73 kB / 0.7817 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.568, allocations: 12.94 kB / 0.7817 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.5692, allocations: 301.6 kB / 0.782 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.5697, allocations: 138.1 kB / 0.7821 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.571, allocations: 0.8911 MB / 0.783 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.5721, allocations: 158.1 kB / 0.7831 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.587e-05/0.5722, allocations: 29.5 kB / 0.7832 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/0.5733, allocations: 0.5158 MB / 0.7837 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009367/0.5743, allocations: 0.5353 MB / 0.7842 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001441/0.5757, allocations: 0.7047 MB / 0.7849 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/0.5758, allocations: 3.562 kB / 0.7849 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002383/0.5781, allocations: 0.9961 MB / 0.7858 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.5782, allocations: 8.156 kB / 0.7859 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5782, allocations: 2.625 kB / 0.7859 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009594/0.5791, allocations: 302.9 kB / 0.7861 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.5797, allocations: 127.7 kB / 0.7863 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.5808, allocations: 0.9024 MB / 0.7872 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.5819, allocations: 136.8 kB / 0.7873 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.582, allocations: 27.81 kB / 0.7873 GB, free: 8.473 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.0001631/0.5822, allocations: 219.1 kB / 0.7875 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.5824, allocations: 116 kB / 0.7876 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00356/0.5859, allocations: 1.086 MB / 0.7887 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.586, allocations: 3.234 kB / 0.7887 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.586, allocations: 0 / 0.7887 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/0.5863, allocations: 260.4 kB / 0.7889 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.5864, allocations: 13.78 kB / 0.789 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007306/0.5872, allocations: 73.3 kB / 0.789 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.5872, allocations: 25.84 kB / 0.789 GB, free: 7.629 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.002497/0.5897, allocations: 0.7607 MB / 0.7898 GB, free: 7.379 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