Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 115.2 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.001262/0.001262, allocations: 184.3 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.307/1.307, 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.8716/0.8716, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 67.81 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1504, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.06716/0.2176, allocations: 61.16 MB / 0.736 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01692/0.2346, allocations: 11.99 MB / 0.7477 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.2365, allocations: 59.62 kB / 0.7478 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.2384, allocations: 0.6948 MB / 0.7485 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3508/0.5893, allocations: 2.06 MB / 0.7505 GB, free: 19.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.5925, allocations: 1.214 MB / 0.7517 GB, free: 19.17 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004481/0.5969, allocations: 3.09 MB / 0.7547 GB, free: 19.17 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.5986, allocations: 1.096 MB / 0.7558 GB, free: 19.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003305/0.6019, allocations: 1.365 MB / 0.7571 GB, free: 19.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.6036, allocations: 0.8911 MB / 0.758 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002423/0.6038, allocations: 114.8 kB / 0.7581 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003526/0.6074, allocations: 1.45 MB / 0.7595 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003595/0.6078, allocations: 287.9 kB / 0.7598 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.6089, allocations: 0.6928 MB / 0.7604 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004369/0.6132, allocations: 2.418 MB / 0.7628 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6133, allocations: 0 / 0.7628 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6133, allocations: 0.5 kB / 0.7628 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.408e-05/0.6133, allocations: 0 / 0.7628 GB, free: 18.34 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.003868/0.6172, allocations: 1.777 MB / 0.7645 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.6172, allocations: 8.312 kB / 0.7645 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/0.6193, allocations: 414.5 kB / 0.7649 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.6218, allocations: 1.174 MB / 0.7661 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/0.6219, allocations: 68.06 kB / 0.7662 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.622, allocations: 83.16 kB / 0.7662 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.6241, allocations: 0.9963 MB / 0.7672 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.6242, allocations: 7.25 kB / 0.7672 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/0.6243, allocations: 34.81 kB / 0.7672 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.6243, allocations: 22.88 kB / 0.7673 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.6265, allocations: 0.8453 MB / 0.7681 GB, free: 16.65 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.0061/0.6326, allocations: 5.232 MB / 0.7732 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.6358, allocations: 0.7838 MB / 0.774 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.6365, allocations: 293.7 kB / 0.7742 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004657/0.6369, allocations: 0.9019 MB / 0.7751 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.637, allocations: 40.69 kB / 0.7752 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.825e-06/0.637, allocations: 0 / 0.7752 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.006667/0.6437, allocations: 1.696 MB / 0.7768 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.6437, allocations: 56.81 kB / 0.7769 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.6453, allocations: 1.085 MB / 0.7779 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-05/0.6454, allocations: 38.83 kB / 0.778 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.6458, allocations: 0.5377 MB / 0.7785 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.6459, allocations: 160.5 kB / 0.7787 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.6461, allocations: 139.3 kB / 0.7788 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.6462, allocations: 328.6 kB / 0.7791 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008286/0.647, allocations: 308.1 kB / 0.7794 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009569/0.648, allocations: 0.529 MB / 0.7799 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.6495, allocations: 0.711 MB / 0.7806 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.6495, allocations: 1.375 kB / 0.7806 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002485/0.652, allocations: 1.017 MB / 0.7816 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.652, allocations: 7 kB / 0.7816 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.652, allocations: 9.125 kB / 0.7816 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.6532, allocations: 305.8 kB / 0.7819 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/0.6538, allocations: 130.8 kB / 0.782 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.655, allocations: 0.9071 MB / 0.7829 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.6564, allocations: 152.2 kB / 0.7831 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.981e-05/0.6565, allocations: 30.27 kB / 0.7831 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001385/0.6579, allocations: 0.5074 MB / 0.7836 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001/0.6589, allocations: 0.5227 MB / 0.7841 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001486/0.6604, allocations: 0.7023 MB / 0.7848 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/0.6604, allocations: 2.812 kB / 0.7848 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002297/0.6627, allocations: 1.009 MB / 0.7858 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.6628, allocations: 10.44 kB / 0.7858 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.6628, allocations: 4.281 kB / 0.7858 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009614/0.6637, allocations: 300.9 kB / 0.7861 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.6643, allocations: 126.2 kB / 0.7862 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.6654, allocations: 0.8938 MB / 0.7871 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.6667, allocations: 131.1 kB / 0.7872 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.6667, allocations: 41.34 kB / 0.7872 GB, free: 8.336 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.0002039/0.667, allocations: 217.3 kB / 0.7874 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.6671, allocations: 117 kB / 0.7875 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.6693, allocations: 0.9171 MB / 0.7884 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.6694, allocations: 1.828 kB / 0.7884 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6694, allocations: 1.125 kB / 0.7884 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/0.6697, allocations: 267 kB / 0.7887 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.6699, allocations: 17.81 kB / 0.7887 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007343/0.6706, allocations: 73.55 kB / 0.7888 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.6707, allocations: 25.52 kB / 0.7888 GB, free: 7.48 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.00244/0.6732, allocations: 0.7634 MB / 0.7896 GB, free: 7.234 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva could not be translated