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.001387/0.001387, allocations: 112.6 kB / 16.37 MB, free: 5.949 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.001458/0.001458, allocations: 199 kB / 17.31 MB, free: 5.574 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.433/1.433, allocations: 222.9 MB / 241 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.09135/0.09135, allocations: 22.33 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 59.69 kB / 382.2 MB, free: 41.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1329, allocations: 54.96 MB / 437.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.004739/0.1377, allocations: 3.421 MB / 440.6 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.1399, allocations: 1.029 MB / 441.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003996/0.1403, allocations: 11.94 kB / 441.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.1407, allocations: 91.16 kB / 441.8 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005865/0.1413, allocations: 242.4 kB / 442 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/0.142, allocations: 211.6 kB / 442.2 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.1433, allocations: 1.209 MB / 443.4 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009706/0.1443, allocations: 0.7986 MB / 444.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005225/0.1448, allocations: 470.7 kB / 444.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006354/0.1455, allocations: 0.5413 MB / 445.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.1456, allocations: 128 kB / 445.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.1459, allocations: 163.9 kB / 445.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003147/0.1462, allocations: 355.1 kB / 445.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.1467, allocations: 0.5019 MB / 446.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.1479, allocations: 1.387 MB / 447.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1479, allocations: 0 / 447.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1479, allocations: 0 / 447.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.1479, allocations: 4 kB / 447.7 MB, free: 1.68 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.00277/0.1507, allocations: 1.286 MB / 449 MB, free: 352 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1507, allocations: 8.031 kB / 449 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.1509, allocations: 87.91 kB / 449.1 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008601/0.1518, allocations: 0.5458 MB / 449.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.1518, allocations: 49.69 kB / 449.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.152, allocations: 68.28 kB / 449.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.1534, allocations: 0.8422 MB / 450.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1535, allocations: 0 / 450.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-05/0.1536, allocations: 27.98 kB / 450.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1536, allocations: 16 kB / 450.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.155, allocations: 0.7507 MB / 451.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004883/0.1599, allocations: 3.222 MB / 454.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/0.1625, allocations: 1.02 MB / 455.7 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007815/0.1633, allocations: 446.3 kB / 456.1 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.936e-05/0.1633, allocations: 8.562 kB / 456.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.1634, allocations: 35.12 kB / 456.1 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002915/0.1637, allocations: 51.59 kB / 456.2 MB, free: 8.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=61): time 2.505e-06/0.1637, allocations: 0 / 456.2 MB, free: 8.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.003743/0.1675, allocations: 1.896 MB / 458.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.1675, allocations: 67.97 kB / 458.1 MB, free: 6.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005819/0.1681, allocations: 445.9 kB / 458.6 MB, free: 6.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/0.1682, allocations: 37.7 kB / 458.6 MB, free: 6.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.1684, allocations: 300.3 kB / 458.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.1686, allocations: 244.6 kB / 459.1 MB, free: 5.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.1689, allocations: 134.6 kB / 459.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1691, allocations: 374.7 kB / 459.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000814/0.1699, allocations: 456.6 kB / 460.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009101/0.1708, allocations: 0.5328 MB / 460.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009687/0.1805, allocations: 2.731 MB / 463.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.1805, allocations: 4 kB / 463.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002726/0.1833, allocations: 1.286 MB / 464.6 MB, free: 180 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.1833, allocations: 8 kB / 464.7 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1833, allocations: 0 / 464.7 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008193/0.1842, allocations: 212.1 kB / 464.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.1858, allocations: 299.6 kB / 465.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006855/0.1927, allocations: 8.485 MB / 473.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008094/0.1935, allocations: 48.12 kB / 473.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.1937, allocations: 35.94 kB / 473.7 MB, free: 6.328 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