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.001062/0.001062, allocations: 92.16 kB / 16.02 MB, free: 80 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.001077/0.001077, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.35/1.35, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2158/0.2158, allocations: 22.33 MB / 314.4 MB, free: 13.02 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003261, allocations: 8 kB / 383.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2763, allocations: 55.98 MB / 439.2 MB, free: 39.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.00285/0.2792, allocations: 3.28 MB / 442.5 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.2809, allocations: 1.057 MB / 443.6 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.2811, allocations: 5.625 kB / 443.6 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.2813, allocations: 72.3 kB / 443.6 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.2816, allocations: 211.3 kB / 443.9 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.2821, allocations: 191.8 kB / 444 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009016/0.283, allocations: 1.367 MB / 445.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000709/0.2837, allocations: 0.6568 MB / 446.1 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.2841, allocations: 366.8 kB / 446.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005398/0.2846, allocations: 0.504 MB / 446.9 MB, free: 35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.502e-05/0.2847, allocations: 50.97 kB / 447 MB, free: 35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.2849, allocations: 85.52 kB / 447.1 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.2851, allocations: 269.8 kB / 447.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.2854, allocations: 452.3 kB / 447.8 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006171/0.286, allocations: 1.084 MB / 448.8 MB, free: 34.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.286, allocations: 0 / 448.8 MB, free: 34.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2861, allocations: 0 / 448.8 MB, free: 34.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.2861, allocations: 0 / 448.8 MB, free: 34.41 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.002262/0.2883, allocations: 1.158 MB / 450 MB, free: 33.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2884, allocations: 11.66 kB / 450 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.2885, allocations: 80.78 kB / 450.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/0.2892, allocations: 0.5514 MB / 450.6 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/0.2892, allocations: 46.69 kB / 450.7 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.2894, allocations: 73.41 kB / 450.8 MB, free: 33.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.2908, allocations: 0.8449 MB / 451.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.2908, allocations: 0 / 451.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.692e-05/0.2909, allocations: 32.44 kB / 451.6 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.2909, allocations: 16.22 kB / 451.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.2922, allocations: 0.7693 MB / 452.4 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.2961, allocations: 3.271 MB / 455.7 MB, free: 30.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/0.2984, allocations: 1.029 MB / 456.7 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/0.2991, allocations: 455.3 kB / 457.2 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.804e-05/0.2992, allocations: 10.61 kB / 457.2 MB, free: 29.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.2992, allocations: 38.09 kB / 457.2 MB, free: 29.88 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002386/0.2994, allocations: 47.75 kB / 457.3 MB, free: 29.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.034e-06/0.2995, allocations: 0 / 457.3 MB, free: 29.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.003871/0.3033, allocations: 1.966 MB / 459.2 MB, free: 28.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.3034, allocations: 62.45 kB / 459.3 MB, free: 28.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.3039, allocations: 441.9 kB / 459.7 MB, free: 28.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.304, allocations: 39.92 kB / 459.8 MB, free: 28.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.3041, allocations: 302.5 kB / 460.1 MB, free: 28.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.3043, allocations: 244.8 kB / 460.3 MB, free: 28.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3045, allocations: 67.83 kB / 460.4 MB, free: 27.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3046, allocations: 376.6 kB / 460.7 MB, free: 27.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008173/0.3054, allocations: 457.7 kB / 461.2 MB, free: 27.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/0.3063, allocations: 0.5407 MB / 461.7 MB, free: 27.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/0.3166, allocations: 2.851 MB / 464.6 MB, free: 26.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3167, allocations: 0 / 464.6 MB, free: 26.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002569/0.3193, allocations: 1.328 MB / 465.9 MB, free: 25.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/0.3193, allocations: 134.8 kB / 466 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3194, allocations: 1.188 kB / 466 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007399/0.3201, allocations: 218.7 kB / 466.2 MB, free: 25.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.3217, allocations: 312.3 kB / 466.5 MB, free: 25.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004484/0.3262, allocations: 7.936 MB / 474.5 MB, free: 17.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000818/0.3271, allocations: 73.05 kB / 474.6 MB, free: 17.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/0.3272, allocations: 28.67 kB / 474.6 MB, free: 17.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3272, allocations: 4.5 kB / 474.6 MB, free: 17.85 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.001078/0.3283, allocations: 0.5427 MB / 475.1 MB, free: 17.61 MB / 350.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated