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.001611/0.001611, allocations: 113.3 kB / 16.37 MB, free: 6.016 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.001511/0.001512, allocations: 198.6 kB / 17.31 MB, free: 5.609 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.521/1.521, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09079/0.09079, allocations: 22.33 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 62.59 kB / 382.2 MB, free: 41.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.108, allocations: 54.97 MB / 437.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.004982/0.1131, allocations: 3.425 MB / 440.6 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1152, allocations: 1.025 MB / 441.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.1154, allocations: 11.94 kB / 441.7 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1157, allocations: 95.16 kB / 441.8 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.1161, allocations: 234.4 kB / 442 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.1168, allocations: 223.5 kB / 442.2 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.1179, allocations: 1.205 MB / 443.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009104/0.1188, allocations: 0.7947 MB / 444.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004462/0.1193, allocations: 470.7 kB / 444.7 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00062/0.1199, allocations: 0.5452 MB / 445.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.1201, allocations: 127.9 kB / 445.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.1203, allocations: 160 kB / 445.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.1206, allocations: 351.1 kB / 445.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.1211, allocations: 0.5135 MB / 446.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.1223, allocations: 1.383 MB / 447.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1223, allocations: 0 / 447.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1223, allocations: 0 / 447.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.1223, allocations: 0 / 447.7 MB, free: 1.66 MB / 318.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.002736/0.1251, allocations: 1.282 MB / 449 MB, free: 336 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1251, allocations: 16.02 kB / 449 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.1253, allocations: 83.91 kB / 449.1 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008937/0.1262, allocations: 0.5458 MB / 449.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.1263, allocations: 45.69 kB / 449.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.1264, allocations: 72.28 kB / 449.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.1279, allocations: 0.8344 MB / 450.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.1279, allocations: 7.984 kB / 450.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/0.128, allocations: 24 kB / 450.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.128, allocations: 12 kB / 450.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.1294, allocations: 0.7585 MB / 451.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005015/0.1345, allocations: 3.218 MB / 454.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/0.1372, allocations: 1.023 MB / 455.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008113/0.138, allocations: 442.3 kB / 456.1 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/0.1381, allocations: 8.547 kB / 456.1 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.1381, allocations: 39.12 kB / 456.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000339/0.1385, allocations: 55.58 kB / 456.2 MB, free: 8.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=61): time 3.637e-06/0.1385, allocations: 0 / 456.2 MB, free: 8.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004147/0.1427, allocations: 1.896 MB / 458.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.1427, allocations: 63.97 kB / 458.1 MB, free: 6.762 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006822/0.1434, allocations: 441.9 kB / 458.6 MB, free: 6.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.083e-05/0.1435, allocations: 37.7 kB / 458.6 MB, free: 6.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.1437, allocations: 304.3 kB / 458.9 MB, free: 5.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.144, allocations: 240.6 kB / 459.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.1443, allocations: 138.6 kB / 459.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.1445, allocations: 374.7 kB / 459.6 MB, free: 5.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008403/0.1453, allocations: 456.6 kB / 460.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009184/0.1463, allocations: 0.5289 MB / 460.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009718/0.156, allocations: 2.731 MB / 463.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.156, allocations: 4 kB / 463.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002645/0.1587, allocations: 1.294 MB / 464.7 MB, free: 156 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1587, allocations: 4 kB / 464.7 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1587, allocations: 4 kB / 464.7 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007399/0.1595, allocations: 212.1 kB / 464.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.1612, allocations: 299.6 kB / 465.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00753/0.1687, allocations: 8.481 MB / 473.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008468/0.1696, allocations: 48.17 kB / 473.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.1698, allocations: 35.92 kB / 473.7 MB, free: 6.309 MB / 350.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