Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.ThermSys_component_models.Hydraulic_circuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit") translateModel(AES.Coursework.ThermSys_component_models.Hydraulic_circuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 176 kB / 16.58 MB, free: 6.859 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.549/1.549, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2945/0.2945, allocations: 22.35 MB / 314.1 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 8 kB / 382.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4258, allocations: 55.98 MB / 438.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.003652/0.4295, allocations: 3.119 MB / 441.7 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.4314, allocations: 1.019 MB / 442.7 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.4316, allocations: 9.812 kB / 442.7 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.4318, allocations: 60.23 kB / 442.8 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.4322, allocations: 241.2 kB / 443 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.4327, allocations: 143 kB / 443.1 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009811/0.4337, allocations: 1.19 MB / 444.3 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006814/0.4344, allocations: 0.586 MB / 444.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.4348, allocations: 360.8 kB / 445.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005824/0.4353, allocations: 0.4953 MB / 445.8 MB, free: 34.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.761e-05/0.4355, allocations: 53.25 kB / 445.8 MB, free: 34.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.4357, allocations: 94.84 kB / 445.9 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.4359, allocations: 269.5 kB / 446.2 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.4361, allocations: 187.1 kB / 446.3 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008081/0.4369, allocations: 1.083 MB / 447.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4369, allocations: 0 / 447.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4369, allocations: 0 / 447.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.4369, allocations: 0 / 447.4 MB, free: 34.5 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002207/0.4391, allocations: 1.167 MB / 448.6 MB, free: 33.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4392, allocations: 8.562 kB / 448.6 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.4393, allocations: 80.62 kB / 448.7 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006894/0.44, allocations: 0.5392 MB / 449.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/0.4401, allocations: 44.88 kB / 449.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.4402, allocations: 72.58 kB / 449.3 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.4417, allocations: 0.8386 MB / 450.2 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.4417, allocations: 0 / 450.2 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.957e-05/0.4418, allocations: 26.16 kB / 450.2 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.4419, allocations: 13.91 kB / 450.2 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.4433, allocations: 0.7676 MB / 451 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.4473, allocations: 3.268 MB / 454.3 MB, free: 30.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.4496, allocations: 1.03 MB / 455.3 MB, free: 30.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007075/0.4503, allocations: 447.9 kB / 455.7 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.303e-05/0.4504, allocations: 11.08 kB / 455.7 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.4504, allocations: 41.47 kB / 455.8 MB, free: 30 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002634/0.4507, allocations: 55.23 kB / 455.8 MB, free: 29.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 3.106e-06/0.4507, allocations: 0 / 455.8 MB, free: 29.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.003717/0.4544, allocations: 1.958 MB / 457.8 MB, free: 28.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.4544, allocations: 57.81 kB / 457.8 MB, free: 28.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005803/0.455, allocations: 456.9 kB / 458.3 MB, free: 28.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.4551, allocations: 36.2 kB / 458.3 MB, free: 28.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.4553, allocations: 300.5 kB / 458.6 MB, free: 28.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.4555, allocations: 245.2 kB / 458.9 MB, free: 28.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.4555, allocations: 15 kB / 458.9 MB, free: 28.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4557, allocations: 370.1 kB / 459.2 MB, free: 27.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008442/0.4565, allocations: 455.5 kB / 459.7 MB, free: 27.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008514/0.4574, allocations: 0.5396 MB / 460.2 MB, free: 27.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009554/0.4583, allocations: 0.5316 MB / 460.7 MB, free: 27.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4584, allocations: 1.031 kB / 460.7 MB, free: 27.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.0027/0.4611, allocations: 1.322 MB / 462.1 MB, free: 26.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.232e-05/0.4612, allocations: 139.8 kB / 462.2 MB, free: 26.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.4612, allocations: 1.906 kB / 462.2 MB, free: 26.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007769/0.462, allocations: 214.5 kB / 462.4 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.4638, allocations: 308.9 kB / 462.7 MB, free: 26.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00556/0.4693, allocations: 7.936 MB / 470.7 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008924/0.4703, allocations: 69.78 kB / 470.7 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/0.4704, allocations: 31.94 kB / 470.8 MB, free: 18.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.4704, allocations: 2.781 kB / 470.8 MB, free: 18.61 MB / 350.1 MB 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. Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/0.4716, allocations: 0.5507 MB / 471.3 MB, free: 18.36 MB / 350.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated