Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001") translateModel(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 110.8 kB / 16.37 MB, free: 6.469 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.00167/0.00167, allocations: 189.8 kB / 17.3 MB, free: 5.828 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09072/0.09072, allocations: 22.32 MB / 313.5 MB, free: 8.922 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 62.77 kB / 382.9 MB, free: 40.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1102, allocations: 54.97 MB / 437.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001): time 0.006744/0.117, allocations: 5.795 MB / 443.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004454/0.1215, allocations: 1.742 MB / 445.5 MB, free: 4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.1228, allocations: 23.88 kB / 445.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.1234, allocations: 198.1 kB / 445.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.1246, allocations: 0.4966 MB / 446.2 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.1259, allocations: 0.507 MB / 446.7 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004612/0.1305, allocations: 4.936 MB / 451.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004732/0.1352, allocations: 3.9 MB / 455.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.1382, allocations: 1.86 MB / 457.4 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003513/0.1417, allocations: 2.214 MB / 459.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009222/0.1426, allocations: 0.6328 MB / 460.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009733/0.1436, allocations: 0.6562 MB / 460.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001484/0.1451, allocations: 1.832 MB / 462.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003563/0.1487, allocations: 2.289 MB / 465 MB, free: 380 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008189/0.1569, allocations: 6.814 MB / 471.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1569, allocations: 4 kB / 471.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1569, allocations: 0 / 471.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001032/0.1571, allocations: 0 / 471.8 MB, free: 9.535 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: 754 * Number of variables: 754 Notification: Performance of Generate backend data structure: time 0.01262/0.1697, allocations: 4.63 MB / 476.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1697, allocations: 8.031 kB / 476.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007347/0.1705, allocations: 325.3 kB / 476.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003311/0.1738, allocations: 1.744 MB / 478.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.174, allocations: 248.2 kB / 478.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006982/0.1747, allocations: 363.8 kB / 479.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008147/0.1829, allocations: 4.807 MB / 483.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/0.183, allocations: 0 / 483.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003423/0.1833, allocations: 120 kB / 484 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-05/0.1834, allocations: 75.98 kB / 484.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007/0.1904, allocations: 4.119 MB / 488.2 MB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03325/0.2237, allocations: 19.28 MB / 0.4956 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2248/0.4485, allocations: 6.914 MB / 0.5024 GB, free: 62.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003939/0.4524, allocations: 2.366 MB / 0.5047 GB, free: 62.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/0.4528, allocations: 48.33 kB / 0.5047 GB, free: 62.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4528, allocations: 65.03 kB / 0.5048 GB, free: 62.33 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001248/0.454, allocations: 233.7 kB / 0.505 GB, free: 62.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=306): time 5.059e-06/0.4541, allocations: 0 / 0.505 GB, free: 62.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=306): time 0.02037/0.4744, allocations: 11.55 MB / 0.5163 GB, free: 58.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.4745, allocations: 134.1 kB / 0.5164 GB, free: 58.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.4757, allocations: 0.9406 MB / 0.5173 GB, free: 58.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004427/0.4762, allocations: 75.77 kB / 0.5174 GB, free: 58.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/0.4766, allocations: 0.9173 MB / 0.5183 GB, free: 57.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009757/0.4776, allocations: 1.237 MB / 0.5195 GB, free: 57.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.4786, allocations: 0.6586 MB / 0.5202 GB, free: 56.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.262e-05/0.4787, allocations: 301.1 kB / 0.5204 GB, free: 56.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003601/0.4823, allocations: 2.685 MB / 0.5231 GB, free: 55.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003495/0.4858, allocations: 3.005 MB / 0.526 GB, free: 54.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0421/0.5279, allocations: 14.87 MB / 0.5405 GB, free: 43.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.528, allocations: 0 / 0.5405 GB, free: 43.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01222/0.5402, allocations: 7.403 MB / 0.5477 GB, free: 35.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.5402, allocations: 16.22 kB / 0.5478 GB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.5403, allocations: 8 kB / 0.5478 GB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004734/0.545, allocations: 1.541 MB / 0.5493 GB, free: 34.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005523/0.5506, allocations: 1.241 MB / 0.5505 GB, free: 32.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0349/0.5855, allocations: 56.45 MB / 0.6056 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.5887, allocations: 235.9 kB / 0.6058 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003772/0.5891, allocations: 136 kB / 0.606 GB, free: 2.984 MB / 414.1 MB Warning: Assuming fixed start value for the following 6 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real FlowCtrl.y:VARIABLE(flow=false start = FlowCtrl.y_start fixed = true ) "Connector of Real output signal" type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real H.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real EV.lfrac:VARIABLE(start = EV.lfracstart fixed = true ) type: Real line.fluidStream.w:VARIABLE(unit = "kg/s" fixed = true ) type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1212:5-1212:82:writable] Error: Internal error Initialization.preBalanceInitialSystem2 failed because variable $DER.line.fluidStream.w:VARIABLE(unit = "kg/s" ) type: Real does not appear in any equation in the lambda 0 initial system and is not fixable. Error: No system for the symbolic initialization was generated