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.006733/0.006733, allocations: 96.84 kB / 15.73 MB, free: 6.047 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.001292/0.001292, allocations: 192.8 kB / 16.67 MB, free: 5.957 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09783/0.09783, allocations: 22.32 MB / 312.8 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 437 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1242, allocations: 54.95 MB / 492 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.004956/0.1292, allocations: 3.425 MB / 495.4 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.1314, allocations: 1.041 MB / 496.5 MB, free: 272 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.1317, allocations: 8 kB / 496.5 MB, free: 264 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.132, allocations: 91.16 kB / 496.5 MB, free: 172 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004344/0.1324, allocations: 234.4 kB / 496.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.1331, allocations: 219.5 kB / 497 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.1341, allocations: 1.201 MB / 498.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008715/0.135, allocations: 0.7985 MB / 499 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.1354, allocations: 474.7 kB / 499.5 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006163/0.1361, allocations: 0.5413 MB / 500 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.1362, allocations: 128 kB / 0.4884 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.1365, allocations: 160 kB / 0.4886 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.1368, allocations: 359 kB / 0.4889 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.1372, allocations: 0.498 MB / 0.4894 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.1384, allocations: 1.383 MB / 0.4907 GB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1384, allocations: 7.984 kB / 0.4907 GB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1384, allocations: 0 / 0.4907 GB, free: 10.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1384, allocations: 0 / 0.4907 GB, free: 10.17 MB / 382.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.002672/0.1411, allocations: 1.278 MB / 0.492 GB, free: 8.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1411, allocations: 12.03 kB / 0.492 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.1413, allocations: 83.91 kB / 0.4921 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007598/0.1421, allocations: 0.5536 MB / 0.4926 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.1421, allocations: 45.69 kB / 0.4927 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.1423, allocations: 76.28 kB / 0.4927 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.1438, allocations: 0.8421 MB / 0.4936 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.1438, allocations: 0 / 0.4936 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/0.1439, allocations: 27.92 kB / 0.4936 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.1439, allocations: 16 kB / 0.4936 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.1455, allocations: 0.7586 MB / 0.4943 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004561/0.1501, allocations: 3.21 MB / 0.4975 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.1526, allocations: 1.019 MB / 0.4985 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007671/0.1534, allocations: 438.4 kB / 0.4989 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.259e-05/0.1534, allocations: 12.56 kB / 0.4989 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1535, allocations: 43.06 kB / 0.4989 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002529/0.1537, allocations: 47.58 kB / 0.499 GB, free: 1.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 2.845e-06/0.1538, allocations: 0.5625 kB / 0.499 GB, free: 1.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=61): time 0.2732/0.4269, allocations: 1.892 MB / 0.5008 GB, free: 22.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.427, allocations: 61.53 kB / 0.5009 GB, free: 22.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.4275, allocations: 451.5 kB / 0.5013 GB, free: 22.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/0.4276, allocations: 34.36 kB / 0.5014 GB, free: 22.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.4278, allocations: 305.9 kB / 0.5016 GB, free: 22.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.4279, allocations: 243.7 kB / 0.5019 GB, free: 21.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.4282, allocations: 135.3 kB / 0.502 GB, free: 21.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4283, allocations: 368.7 kB / 0.5024 GB, free: 21.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008724/0.4292, allocations: 461 kB / 0.5028 GB, free: 21.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000971/0.4302, allocations: 0.5271 MB / 0.5033 GB, free: 21.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009541/0.4397, allocations: 2.727 MB / 0.506 GB, free: 21.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.4398, allocations: 0 / 0.506 GB, free: 21.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002643/0.4424, allocations: 1.297 MB / 0.5072 GB, free: 21.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.4425, allocations: 10.81 kB / 0.5073 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.4425, allocations: 1.188 kB / 0.5073 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008015/0.4433, allocations: 206.2 kB / 0.5075 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.4449, allocations: 303 kB / 0.5077 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005287/0.4502, allocations: 8.486 MB / 0.516 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/0.4509, allocations: 47.05 kB / 0.5161 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.451, allocations: 24.92 kB / 0.5161 GB, free: 13.68 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Vessel.lfrac:VARIABLE(start = Vessel.lfracstart fixed = true ) type: Real tube.fluidStream.w:VARIABLE(unit = "kg/s" fixed = true ) type: Real [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1212:5-1212:82:writable] Error: Internal error Initialization.preBalanceInitialSystem2 failed because variable $DER.tube.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