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.0009342/0.0009342, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004772/0.004773, allocations: 170 kB / 16.26 MB, free: 6.613 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.297/1.297, allocations: 223.3 MB / 240.3 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.191/0.191, allocations: 22.34 MB / 313.8 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005306/0.0005306, allocations: 12 kB / 382.7 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2426, allocations: 55.99 MB / 438.7 MB, free: 39.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.002409/0.245, allocations: 3.267 MB / 442 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2463, allocations: 1.065 MB / 443 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.2464, allocations: 6.062 kB / 443 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.2466, allocations: 69.78 kB / 443.1 MB, free: 36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.2469, allocations: 221.4 kB / 443.3 MB, free: 35.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.2473, allocations: 193.8 kB / 443.5 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007999/0.2481, allocations: 1.365 MB / 444.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005621/0.2487, allocations: 0.6473 MB / 445.5 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.249, allocations: 367.6 kB / 445.9 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.2495, allocations: 0.5076 MB / 446.4 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.955e-05/0.2496, allocations: 49.91 kB / 446.4 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.2497, allocations: 79.92 kB / 446.5 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.2499, allocations: 272.3 kB / 446.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.2502, allocations: 451.1 kB / 447.2 MB, free: 34.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006861/0.2509, allocations: 1.301 MB / 448.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2509, allocations: 0 / 448.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2509, allocations: 0 / 448.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.251, allocations: 0 / 448.5 MB, free: 33.94 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.002155/0.2531, allocations: 1.156 MB / 449.7 MB, free: 33.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.2532, allocations: 9.906 kB / 449.7 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.2533, allocations: 110.1 kB / 449.8 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.2534, allocations: 82.44 kB / 449.9 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005976/0.254, allocations: 0.5485 MB / 450.4 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.2541, allocations: 52.31 kB / 450.5 MB, free: 32.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.2542, allocations: 72.25 kB / 450.5 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.2555, allocations: 0.8431 MB / 451.4 MB, free: 32.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2556, allocations: 0 / 451.4 MB, free: 32.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.557e-05/0.2556, allocations: 25.25 kB / 451.4 MB, free: 32.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.2557, allocations: 18.88 kB / 451.4 MB, free: 32.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.257, allocations: 0.7781 MB / 452.2 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.2607, allocations: 3.277 MB / 455.5 MB, free: 29.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.263, allocations: 1.025 MB / 456.5 MB, free: 29.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/0.2638, allocations: 450.7 kB / 456.9 MB, free: 29.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.2638, allocations: 15.08 kB / 457 MB, free: 29.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.2638, allocations: 38.38 kB / 457 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002115/0.2641, allocations: 46.72 kB / 457 MB, free: 29.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 1.783e-06/0.2641, allocations: 0 / 457 MB, free: 29.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.003712/0.2678, allocations: 1.96 MB / 459 MB, free: 28.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.2678, allocations: 61.91 kB / 459.1 MB, free: 28.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.2683, allocations: 444.7 kB / 459.5 MB, free: 27.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.2683, allocations: 37.7 kB / 459.5 MB, free: 27.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.2685, allocations: 306.8 kB / 459.8 MB, free: 27.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.2686, allocations: 241.2 kB / 460.1 MB, free: 27.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.2687, allocations: 68.47 kB / 460.1 MB, free: 27.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.2688, allocations: 370.2 kB / 460.5 MB, free: 27.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008012/0.2696, allocations: 460.9 kB / 460.9 MB, free: 26.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008886/0.2705, allocations: 0.541 MB / 461.5 MB, free: 26.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.2808, allocations: 2.848 MB / 464.3 MB, free: 25.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2809, allocations: 0 / 464.3 MB, free: 25.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002547/0.2834, allocations: 1.332 MB / 465.7 MB, free: 25.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.2835, allocations: 134.3 kB / 465.8 MB, free: 25.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2835, allocations: 5.969 kB / 465.8 MB, free: 25.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007414/0.2842, allocations: 217.6 kB / 466 MB, free: 25.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.2859, allocations: 310 kB / 466.3 MB, free: 25.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004334/0.2903, allocations: 7.939 MB / 474.3 MB, free: 17.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006325/0.2909, allocations: 68.45 kB / 474.3 MB, free: 17.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/0.291, allocations: 34.09 kB / 474.4 MB, free: 17.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.831e-06/0.291, allocations: 2.75 kB / 474.4 MB, free: 17.3 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.001011/0.292, allocations: 0.5436 MB / 474.9 MB, free: 17.06 MB / 350.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated