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.001771/0.001772, allocations: 104.7 kB / 16.41 MB, free: 6.496 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.00201/0.00201, allocations: 191 kB / 17.34 MB, free: 5.766 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.613/1.613, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09083/0.09083, allocations: 22.33 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 63.91 kB / 437.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.1014, allocations: 54.96 MB / 492.7 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.004795/0.1063, allocations: 3.421 MB / 496.1 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.1085, allocations: 1.044 MB / 497.1 MB, free: 304 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004024/0.1089, allocations: 7.938 kB / 497.1 MB, free: 296 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.1093, allocations: 95.16 kB / 497.2 MB, free: 200 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006968/0.11, allocations: 234.4 kB / 497.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.1108, allocations: 207.6 kB / 497.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.1122, allocations: 1.205 MB / 498.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.1133, allocations: 0.8024 MB / 499.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00075/0.1141, allocations: 474.7 kB / 0.4884 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009616/0.115, allocations: 0.5452 MB / 0.489 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.1154, allocations: 124 kB / 0.4891 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003396/0.1157, allocations: 164 kB / 0.4892 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.116, allocations: 359 kB / 0.4896 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005251/0.1166, allocations: 0.498 MB / 0.4901 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.1179, allocations: 1.387 MB / 0.4914 GB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1179, allocations: 0 / 0.4914 GB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1179, allocations: 0 / 0.4914 GB, free: 10.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.1179, allocations: 0 / 0.4914 GB, free: 10.2 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.002703/0.1206, allocations: 1.278 MB / 0.4927 GB, free: 8.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1207, allocations: 12.02 kB / 0.4927 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.1208, allocations: 87.91 kB / 0.4928 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007528/0.1216, allocations: 0.5535 MB / 0.4933 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.1217, allocations: 45.69 kB / 0.4933 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.1218, allocations: 68.28 kB / 0.4934 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.1233, allocations: 0.8383 MB / 0.4942 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1233, allocations: 0 / 0.4942 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-05/0.1234, allocations: 31.98 kB / 0.4943 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.1234, allocations: 12 kB / 0.4943 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.1249, allocations: 0.7585 MB / 0.495 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004514/0.1294, allocations: 3.218 MB / 0.4981 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/0.1319, allocations: 1.013 MB / 0.4991 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/0.1326, allocations: 442.3 kB / 0.4996 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.065e-05/0.1327, allocations: 16.55 kB / 0.4996 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.1327, allocations: 43.11 kB / 0.4996 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002659/0.133, allocations: 47.59 kB / 0.4997 GB, free: 1.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 2.755e-06/0.133, allocations: 0 / 0.4997 GB, free: 1.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=61): time 0.2055/0.3385, allocations: 1.89 MB / 0.5015 GB, free: 22.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.3386, allocations: 61 kB / 0.5016 GB, free: 22.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.3391, allocations: 450.6 kB / 0.502 GB, free: 22.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.3392, allocations: 39.02 kB / 0.502 GB, free: 22.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.3394, allocations: 306.3 kB / 0.5023 GB, free: 22.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.3396, allocations: 239.5 kB / 0.5026 GB, free: 21.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.3398, allocations: 136 kB / 0.5027 GB, free: 21.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.3399, allocations: 367.9 kB / 0.503 GB, free: 21.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007792/0.3407, allocations: 460.4 kB / 0.5035 GB, free: 21.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007552/0.3414, allocations: 0.5322 MB / 0.504 GB, free: 21.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009363/0.3508, allocations: 2.719 MB / 0.5066 GB, free: 21.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.3509, allocations: 1.156 kB / 0.5066 GB, free: 21.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002544/0.3534, allocations: 1.301 MB / 0.5079 GB, free: 21.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3535, allocations: 9.781 kB / 0.5079 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3535, allocations: 5.125 kB / 0.5079 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007163/0.3542, allocations: 205.6 kB / 0.5081 GB, free: 21.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.3557, allocations: 302 kB / 0.5084 GB, free: 21.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004717/0.3605, allocations: 8.488 MB / 0.5167 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007899/0.3613, allocations: 46.62 kB / 0.5167 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.3614, allocations: 24.81 kB / 0.5168 GB, free: 13.77 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