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: "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Hydraulic_circuit,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Hydraulic_circuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Hydraulic_circuit,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Hydraulic_circuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008411/0.000841, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001092/0.001092, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.2 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2567/0.2567, allocations: 22.36 MB / 313.4 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003415, allocations: 8 kB / 382 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.347, allocations: 55.98 MB / 438 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.002845/0.3499, allocations: 3.121 MB / 441.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3515, allocations: 1.027 MB / 442.2 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.3517, allocations: 5.281 kB / 442.2 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.3519, allocations: 68.56 kB / 442.2 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.3522, allocations: 229 kB / 442.5 MB, free: 36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.3527, allocations: 150.5 kB / 442.6 MB, free: 35.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008931/0.3536, allocations: 1.195 MB / 443.8 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006634/0.3542, allocations: 0.5694 MB / 444.4 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003954/0.3546, allocations: 368.3 kB / 444.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005459/0.3552, allocations: 0.5032 MB / 445.2 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.842e-05/0.3553, allocations: 53.44 kB / 445.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.3555, allocations: 79.19 kB / 445.4 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.3557, allocations: 281.6 kB / 445.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.3559, allocations: 176 kB / 445.8 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007659/0.3567, allocations: 1.08 MB / 446.9 MB, free: 34.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3567, allocations: 0 / 446.9 MB, free: 34.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3567, allocations: 0 / 446.9 MB, free: 34.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3567, allocations: 0 / 446.9 MB, free: 34.48 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.002256/0.359, allocations: 1.167 MB / 448.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.359, allocations: 11.38 kB / 448.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/0.3592, allocations: 109.2 kB / 448.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.3594, allocations: 80 kB / 448.3 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.3603, allocations: 0.5381 MB / 448.8 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.3603, allocations: 46.69 kB / 448.8 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.3605, allocations: 77.3 kB / 448.9 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.362, allocations: 0.8383 MB / 449.8 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.362, allocations: 0 / 449.8 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.417e-05/0.3621, allocations: 26.97 kB / 449.8 MB, free: 32.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.3621, allocations: 15.81 kB / 449.8 MB, free: 32.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.3634, allocations: 0.7741 MB / 450.6 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004556/0.368, allocations: 3.262 MB / 453.8 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002324/0.3704, allocations: 1.023 MB / 454.9 MB, free: 30.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008343/0.3712, allocations: 451.6 kB / 455.3 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.077e-05/0.3713, allocations: 3.719 kB / 455.3 MB, free: 29.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3713, allocations: 46.22 kB / 455.3 MB, free: 29.89 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003214/0.3717, allocations: 57.83 kB / 455.4 MB, free: 29.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 3.126e-06/0.3717, allocations: 0 / 455.4 MB, free: 29.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.003703/0.3754, allocations: 1.957 MB / 457.4 MB, free: 28.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.3755, allocations: 67.36 kB / 457.4 MB, free: 28.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007092/0.3762, allocations: 442.5 kB / 457.9 MB, free: 28.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-05/0.3763, allocations: 36.14 kB / 457.9 MB, free: 28.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.3765, allocations: 299.7 kB / 458.2 MB, free: 28.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.3768, allocations: 246.5 kB / 458.4 MB, free: 28.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.3769, allocations: 15 kB / 458.4 MB, free: 28.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.377, allocations: 371.2 kB / 458.8 MB, free: 27.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007698/0.3778, allocations: 456.8 kB / 459.2 MB, free: 27.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008556/0.3786, allocations: 0.5441 MB / 459.8 MB, free: 27.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.3797, allocations: 0.5322 MB / 460.3 MB, free: 27.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3797, allocations: 1.031 kB / 460.3 MB, free: 27.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003023/0.3827, allocations: 1.325 MB / 461.6 MB, free: 26.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.55e-05/0.3828, allocations: 138.4 kB / 461.8 MB, free: 26.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.3828, allocations: 6.094 kB / 461.8 MB, free: 26.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008037/0.3837, allocations: 205.6 kB / 462 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.3853, allocations: 309.2 kB / 462.3 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00505/0.3904, allocations: 7.944 MB / 470.2 MB, free: 18.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008646/0.3913, allocations: 64.62 kB / 470.3 MB, free: 18.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/0.3914, allocations: 25.53 kB / 470.3 MB, free: 18.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3914, allocations: 10.7 kB / 470.3 MB, free: 18.49 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.001176/0.3926, allocations: 0.5411 MB / 470.9 MB, free: 18.25 MB / 350.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated