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.00122/0.00122, allocations: 102.2 kB / 16.4 MB, free: 6.465 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.001388/0.001388, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08881/0.08881, allocations: 22.33 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1216, allocations: 54.96 MB / 492.7 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.00763/0.1293, allocations: 3.416 MB / 496.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003645/0.133, allocations: 1.041 MB / 497.1 MB, free: 264 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005912/0.1337, allocations: 8 kB / 497.1 MB, free: 256 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004935/0.1342, allocations: 91.16 kB / 497.2 MB, free: 164 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.1354, allocations: 234.4 kB / 497.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.1367, allocations: 219.5 kB / 497.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.1388, allocations: 1.205 MB / 498.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.1404, allocations: 0.7985 MB / 499.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.1416, allocations: 470.7 kB / 0.4884 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.1431, allocations: 0.5491 MB / 0.489 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004779/0.1436, allocations: 128 kB / 0.4891 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000531/0.1442, allocations: 160 kB / 0.4892 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004722/0.1447, allocations: 351.1 kB / 0.4896 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008761/0.1456, allocations: 0.5019 MB / 0.4901 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.1477, allocations: 1.383 MB / 0.4914 GB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1478, allocations: 0 / 0.4914 GB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1478, allocations: 0 / 0.4914 GB, free: 10.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.139e-05/0.1478, allocations: 0 / 0.4914 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.00557/0.1534, allocations: 1.282 MB / 0.4927 GB, free: 8.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.1535, allocations: 12.03 kB / 0.4927 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/0.1539, allocations: 87.91 kB / 0.4927 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.1555, allocations: 0.5458 MB / 0.4933 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.613e-05/0.1556, allocations: 45.69 kB / 0.4933 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/0.1559, allocations: 76.27 kB / 0.4934 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.1589, allocations: 0.8344 MB / 0.4942 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.159, allocations: 3.938 kB / 0.4942 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.1592, allocations: 28 kB / 0.4942 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.1592, allocations: 20 kB / 0.4943 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.1622, allocations: 0.7507 MB / 0.495 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009337/0.1716, allocations: 3.226 MB / 0.4981 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004752/0.1764, allocations: 1.013 MB / 0.4991 GB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.1781, allocations: 446.3 kB / 0.4996 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.963e-05/0.1782, allocations: 8.547 kB / 0.4996 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/0.1783, allocations: 39.69 kB / 0.4996 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005931/0.1789, allocations: 47.59 kB / 0.4997 GB, free: 1.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 5.33e-06/0.1789, allocations: 0 / 0.4997 GB, free: 1.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=61): time 0.3367/0.5157, allocations: 1.896 MB / 0.5015 GB, free: 22.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.5157, allocations: 60.03 kB / 0.5016 GB, free: 22.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009453/0.5167, allocations: 446.8 kB / 0.502 GB, free: 22.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002275/0.517, allocations: 37.39 kB / 0.502 GB, free: 22.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.5173, allocations: 310.8 kB / 0.5023 GB, free: 21.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/0.5177, allocations: 243.8 kB / 0.5026 GB, free: 21.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005626/0.5183, allocations: 130 kB / 0.5027 GB, free: 21.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5185, allocations: 369.5 kB / 0.503 GB, free: 21.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.52, allocations: 458.6 kB / 0.5035 GB, free: 21.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.5216, allocations: 0.5324 MB / 0.504 GB, free: 21.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01818/0.5398, allocations: 2.723 MB / 0.5066 GB, free: 21.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.5399, allocations: 1.156 kB / 0.5066 GB, free: 21.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005205/0.5451, allocations: 1.292 MB / 0.5079 GB, free: 21.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.5452, allocations: 9.312 kB / 0.5079 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.5452, allocations: 1.781 kB / 0.5079 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.5466, allocations: 216.6 kB / 0.5081 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003137/0.5497, allocations: 301.7 kB / 0.5084 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008492/0.5583, allocations: 8.485 MB / 0.5167 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.5597, allocations: 50.58 kB / 0.5167 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002801/0.56, allocations: 24.03 kB / 0.5168 GB, free: 13.63 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/jenkins1/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