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.001468/0.001468, allocations: 98.77 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.001701/0.001701, allocations: 177.3 kB / 15.94 MB, free: 228 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.353/1.353, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2191/0.2191, allocations: 22.33 MB / 313.3 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003124, allocations: 8 kB / 381.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3158, allocations: 55.98 MB / 437.9 MB, free: 39.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.003031/0.3189, allocations: 2.893 MB / 440.8 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.3208, allocations: 1.062 MB / 441.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.3211, allocations: 9.062 kB / 441.9 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.3212, allocations: 76.55 kB / 441.9 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.3215, allocations: 193.3 kB / 442.1 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.322, allocations: 148.4 kB / 442.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006011/0.3226, allocations: 0.6633 MB / 442.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006456/0.3233, allocations: 0.5586 MB / 443.5 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003746/0.3236, allocations: 349.3 kB / 443.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004639/0.3241, allocations: 410.4 kB / 444.2 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.3242, allocations: 57.81 kB / 444.3 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.3244, allocations: 83.5 kB / 444.4 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.3246, allocations: 247.1 kB / 444.6 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.3247, allocations: 176.8 kB / 444.8 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000724/0.3255, allocations: 1.073 MB / 445.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3255, allocations: 0 / 445.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3255, allocations: 0 / 445.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3255, allocations: 3.156 kB / 445.9 MB, free: 34.89 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.002176/0.3277, allocations: 1.166 MB / 447 MB, free: 34.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3277, allocations: 8.938 kB / 447 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.3278, allocations: 109.4 kB / 447.1 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.328, allocations: 81.62 kB / 447.2 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007232/0.3287, allocations: 0.5312 MB / 447.7 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.78e-05/0.3288, allocations: 49.28 kB / 447.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.3289, allocations: 77.11 kB / 447.9 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.3303, allocations: 0.8328 MB / 448.7 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3303, allocations: 0 / 448.7 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.3304, allocations: 24.97 kB / 448.7 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.3304, allocations: 18.88 kB / 448.7 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.3317, allocations: 0.7682 MB / 449.5 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004008/0.3358, allocations: 3.269 MB / 452.8 MB, free: 30.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.3379, allocations: 1.028 MB / 453.8 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.338, allocations: 9.797 kB / 453.8 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.338, allocations: 38.41 kB / 453.9 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002459/0.3383, allocations: 55.22 kB / 453.9 MB, free: 30.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.365e-06/0.3383, allocations: 0 / 453.9 MB, free: 30.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.003394/0.3417, allocations: 1.958 MB / 455.9 MB, free: 29.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.3417, allocations: 62.47 kB / 455.9 MB, free: 29.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.3422, allocations: 447.7 kB / 456.4 MB, free: 29.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.759e-05/0.3423, allocations: 34.92 kB / 456.4 MB, free: 29.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.3425, allocations: 303 kB / 456.7 MB, free: 28.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.3427, allocations: 245.4 kB / 456.9 MB, free: 28.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.3427, allocations: 19.22 kB / 457 MB, free: 28.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.3428, allocations: 367.6 kB / 457.3 MB, free: 28.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007846/0.3436, allocations: 452.7 kB / 457.8 MB, free: 28.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008294/0.3445, allocations: 0.541 MB / 458.3 MB, free: 27.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/0.3453, allocations: 0.5286 MB / 458.8 MB, free: 27.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3453, allocations: 1.375 kB / 458.8 MB, free: 27.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002564/0.3479, allocations: 1.323 MB / 460.2 MB, free: 27.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002011/0.3481, allocations: 0.6248 MB / 460.8 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3481, allocations: 5.156 kB / 460.8 MB, free: 26.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008441/0.349, allocations: 209.7 kB / 461 MB, free: 26.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.3507, allocations: 312.2 kB / 461.3 MB, free: 26.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005391/0.3561, allocations: 8.001 MB / 469.3 MB, free: 18.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009717/0.3572, allocations: 62.5 kB / 469.4 MB, free: 18.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.452e-05/0.3573, allocations: 30.36 kB / 469.4 MB, free: 18.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3573, allocations: 7.297 kB / 469.4 MB, free: 18.56 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.001144/0.3584, allocations: 0.54 MB / 469.9 MB, free: 18.32 MB / 350.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated