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.001046/0.001046, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00148/0.00148, allocations: 177.3 kB / 15.95 MB, free: 216 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.483/1.483, allocations: 223.2 MB / 239.9 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.2346/0.2346, allocations: 22.34 MB / 313.3 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003377, allocations: 15.98 kB / 381.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3133, allocations: 55.97 MB / 437.8 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.002639/0.316, allocations: 2.895 MB / 440.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.3175, allocations: 1.073 MB / 441.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.3176, allocations: 5.5 kB / 441.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.3178, allocations: 68.41 kB / 441.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.3181, allocations: 201.2 kB / 442 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.3185, allocations: 140.9 kB / 442.2 MB, free: 36.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.319, allocations: 0.6572 MB / 442.8 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005422/0.3196, allocations: 0.5709 MB / 443.4 MB, free: 35.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002978/0.3199, allocations: 340.3 kB / 443.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004047/0.3203, allocations: 411.4 kB / 444.1 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.098e-05/0.3204, allocations: 53.38 kB / 444.2 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3206, allocations: 83.47 kB / 444.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.3207, allocations: 244.6 kB / 444.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.3209, allocations: 173.9 kB / 444.7 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.3215, allocations: 1.077 MB / 445.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3215, allocations: 4 kB / 445.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3215, allocations: 4 kB / 445.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.3215, allocations: 0 / 445.8 MB, free: 34.84 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.002121/0.3237, allocations: 1.171 MB / 446.9 MB, free: 34.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.3237, allocations: 8.062 kB / 447 MB, free: 34.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.3238, allocations: 82.84 kB / 447 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006771/0.3245, allocations: 0.5345 MB / 447.6 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.3246, allocations: 52.31 kB / 447.6 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.3247, allocations: 66.55 kB / 447.7 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.3259, allocations: 0.8425 MB / 448.5 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.326, allocations: 0 / 448.5 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.326, allocations: 25.94 kB / 448.6 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.3261, allocations: 13.34 kB / 448.6 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.3273, allocations: 0.7714 MB / 449.3 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.3312, allocations: 3.269 MB / 452.6 MB, free: 30.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.3335, allocations: 1.026 MB / 453.6 MB, free: 30.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.843e-05/0.3335, allocations: 14.11 kB / 453.6 MB, free: 30.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.3336, allocations: 50.55 kB / 453.7 MB, free: 30.5 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002042/0.3338, allocations: 53.61 kB / 453.7 MB, free: 30.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 1.803e-06/0.3338, allocations: 0 / 453.7 MB, free: 30.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.003403/0.3372, allocations: 1.952 MB / 455.7 MB, free: 29.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.3372, allocations: 58.44 kB / 455.8 MB, free: 29.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.3377, allocations: 448.3 kB / 456.2 MB, free: 29.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.3378, allocations: 36.2 kB / 456.2 MB, free: 29.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.3379, allocations: 306.8 kB / 456.5 MB, free: 28.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.3381, allocations: 240.8 kB / 456.8 MB, free: 28.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.3381, allocations: 14.25 kB / 456.8 MB, free: 28.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.3382, allocations: 370.8 kB / 457.1 MB, free: 28.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007728/0.339, allocations: 458 kB / 457.6 MB, free: 28.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008511/0.3399, allocations: 0.5431 MB / 458.1 MB, free: 27.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009085/0.3408, allocations: 0.5287 MB / 458.7 MB, free: 27.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3408, allocations: 0 / 458.7 MB, free: 27.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002323/0.3431, allocations: 1.326 MB / 460 MB, free: 27.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.3433, allocations: 0.6142 MB / 460.6 MB, free: 26.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.3433, allocations: 4.688 kB / 460.6 MB, free: 26.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007465/0.3441, allocations: 207.2 kB / 460.8 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.3457, allocations: 308.8 kB / 461.1 MB, free: 26.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004541/0.3502, allocations: 8.007 MB / 469.1 MB, free: 18.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007204/0.351, allocations: 64.03 kB / 469.2 MB, free: 18.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-05/0.351, allocations: 24.84 kB / 469.2 MB, free: 18.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.351, allocations: 8.375 kB / 469.2 MB, free: 18.58 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.001038/0.3521, allocations: 0.5364 MB / 469.7 MB, free: 18.34 MB / 350.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated