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.009832/0.009832, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001986/0.001986, allocations: 196.3 kB / 16.67 MB, free: 5.52 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09404/0.09404, allocations: 22.33 MB / 312.8 MB, free: 8.914 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 55.91 kB / 437 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1642, allocations: 54.96 MB / 492 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.004873/0.1691, allocations: 3.421 MB / 495.4 MB, free: 1.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.1715, allocations: 1.037 MB / 496.4 MB, free: 324 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.1717, allocations: 8 kB / 496.5 MB, free: 316 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.172, allocations: 103.1 kB / 496.6 MB, free: 212 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.1725, allocations: 250.4 kB / 496.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.1731, allocations: 207.6 kB / 497 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.1742, allocations: 1.201 MB / 498.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000886/0.1751, allocations: 0.8024 MB / 499 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000457/0.1756, allocations: 466.7 kB / 499.5 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006391/0.1762, allocations: 0.553 MB / 0.4883 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.1764, allocations: 128 kB / 0.4884 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.1766, allocations: 160 kB / 0.4886 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.177, allocations: 355.1 kB / 0.4889 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004802/0.1774, allocations: 0.4941 MB / 0.4894 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.1786, allocations: 1.387 MB / 0.4907 GB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1786, allocations: 0 / 0.4907 GB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1786, allocations: 0 / 0.4907 GB, free: 10.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.1786, allocations: 3.938 kB / 0.4907 GB, free: 10.21 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.00307/0.1817, allocations: 1.286 MB / 0.492 GB, free: 8.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.1817, allocations: 12.03 kB / 0.492 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.182, allocations: 83.91 kB / 0.4921 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008198/0.1828, allocations: 0.5459 MB / 0.4926 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.1828, allocations: 49.67 kB / 0.4927 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.183, allocations: 68.28 kB / 0.4927 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.1847, allocations: 0.8421 MB / 0.4936 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1847, allocations: 4 kB / 0.4936 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.016e-05/0.1848, allocations: 20 kB / 0.4936 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.1848, allocations: 19.94 kB / 0.4936 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.1863, allocations: 0.7585 MB / 0.4943 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005041/0.1914, allocations: 3.214 MB / 0.4975 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.1941, allocations: 1.02 MB / 0.4985 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008285/0.1949, allocations: 442.3 kB / 0.4989 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.934e-05/0.195, allocations: 8.562 kB / 0.4989 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.195, allocations: 47.06 kB / 0.499 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002816/0.1953, allocations: 47.58 kB / 0.499 GB, free: 1.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 3.015e-06/0.1953, allocations: 4 kB / 0.499 GB, free: 1.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=61): time 0.2595/0.4549, allocations: 1.885 MB / 0.5008 GB, free: 22.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.455, allocations: 61.88 kB / 0.5009 GB, free: 22.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.4557, allocations: 453 kB / 0.5013 GB, free: 22.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.4558, allocations: 35.17 kB / 0.5014 GB, free: 22.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.456, allocations: 303.7 kB / 0.5017 GB, free: 22.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.4563, allocations: 242.2 kB / 0.5019 GB, free: 21.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.4566, allocations: 134.2 kB / 0.502 GB, free: 21.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4567, allocations: 372 kB / 0.5024 GB, free: 21.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008894/0.4576, allocations: 459.9 kB / 0.5028 GB, free: 21.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009352/0.4586, allocations: 0.5309 MB / 0.5033 GB, free: 21.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/0.4687, allocations: 2.726 MB / 0.506 GB, free: 21.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.4688, allocations: 1.219 kB / 0.506 GB, free: 21.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002828/0.4716, allocations: 1.293 MB / 0.5073 GB, free: 21.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.4717, allocations: 11.22 kB / 0.5073 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.4717, allocations: 4.641 kB / 0.5073 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008075/0.4725, allocations: 205.9 kB / 0.5075 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.4742, allocations: 304.6 kB / 0.5078 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005221/0.4794, allocations: 8.489 MB / 0.516 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007886/0.4802, allocations: 46.61 kB / 0.5161 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.4803, allocations: 24.83 kB / 0.5161 GB, free: 13.7 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