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.00217/0.00217, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.002111/0.002111, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09241/0.09241, allocations: 22.33 MB / 313.5 MB, free: 8.914 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 62.58 kB / 382.9 MB, free: 40.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.0873, allocations: 54.97 MB / 437.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001): time 0.006709/0.09404, allocations: 5.799 MB / 443.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.09758, allocations: 1.746 MB / 445.5 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005307/0.09814, allocations: 23.88 kB / 445.5 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.09857, allocations: 202.1 kB / 445.7 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000885/0.09947, allocations: 0.4889 MB / 446.2 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.1005, allocations: 0.5032 MB / 446.7 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003882/0.1044, allocations: 4.94 MB / 451.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00382/0.1083, allocations: 3.9 MB / 455.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.1101, allocations: 1.864 MB / 457.4 MB, free: 8.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/0.113, allocations: 2.218 MB / 459.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007934/0.1138, allocations: 0.6289 MB / 460.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008206/0.1146, allocations: 0.6679 MB / 460.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.1159, allocations: 1.824 MB / 462.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.1182, allocations: 2.293 MB / 465 MB, free: 368 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005656/0.1239, allocations: 6.799 MB / 471.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1239, allocations: 0 / 471.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.1239, allocations: 0 / 471.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.129e-05/0.124, allocations: 3.938 kB / 471.8 MB, free: 9.539 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.01163/0.1357, allocations: 4.641 MB / 476.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1357, allocations: 8.031 kB / 476.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007426/0.1365, allocations: 325.3 kB / 476.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003478/0.1399, allocations: 1.748 MB / 478.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.1401, allocations: 248.2 kB / 478.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006257/0.1408, allocations: 363.9 kB / 479.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007236/0.148, allocations: 4.807 MB / 483.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/0.1481, allocations: 0 / 483.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/0.1484, allocations: 124 kB / 484 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/0.1485, allocations: 72 kB / 484.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006391/0.1549, allocations: 4.115 MB / 488.2 MB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0296/0.1845, allocations: 19.27 MB / 0.4956 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1975/0.382, allocations: 6.911 MB / 0.5024 GB, free: 62.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00416/0.3862, allocations: 2.378 MB / 0.5047 GB, free: 62.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004164/0.3867, allocations: 46.25 kB / 0.5047 GB, free: 62.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.215e-05/0.3867, allocations: 67.06 kB / 0.5048 GB, free: 62.38 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001843/0.3886, allocations: 224.5 kB / 0.505 GB, free: 62.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=306): time 1.034e-05/0.3886, allocations: 0 / 0.505 GB, free: 62.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=306): time 0.02277/0.4114, allocations: 11.56 MB / 0.5163 GB, free: 58.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.4115, allocations: 142.6 kB / 0.5164 GB, free: 58.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.4133, allocations: 0.9398 MB / 0.5173 GB, free: 58.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007352/0.414, allocations: 74.48 kB / 0.5174 GB, free: 58.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005234/0.4146, allocations: 0.908 MB / 0.5183 GB, free: 57.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001652/0.4162, allocations: 1.24 MB / 0.5195 GB, free: 57.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002663/0.4189, allocations: 0.6539 MB / 0.5201 GB, free: 57.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.419, allocations: 306.7 kB / 0.5204 GB, free: 56.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004767/0.4237, allocations: 2.686 MB / 0.5231 GB, free: 55.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004295/0.4281, allocations: 3.004 MB / 0.526 GB, free: 54.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04293/0.471, allocations: 14.86 MB / 0.5405 GB, free: 43.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-05/0.4711, allocations: 4 kB / 0.5405 GB, free: 43.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01305/0.4841, allocations: 7.416 MB / 0.5478 GB, free: 35.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.4842, allocations: 8.844 kB / 0.5478 GB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.4842, allocations: 8 kB / 0.5478 GB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00468/0.4889, allocations: 1.541 MB / 0.5493 GB, free: 34.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005354/0.4943, allocations: 1.241 MB / 0.5505 GB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03399/0.5283, allocations: 56.45 MB / 0.6056 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/0.5314, allocations: 231.8 kB / 0.6058 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008666/0.5323, allocations: 140 kB / 0.606 GB, free: 2.965 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