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.0051/0.0051, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001066/0.001066, allocations: 192 kB / 16.67 MB, free: 5.969 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09183/0.09183, allocations: 22.32 MB / 312.8 MB, free: 8.859 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.91 kB / 437 MB, free: 11.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1221, allocations: 54.96 MB / 492 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.004189/0.1263, allocations: 3.413 MB / 495.4 MB, free: 1.281 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.128, allocations: 1.048 MB / 496.4 MB, free: 232 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.1281, allocations: 4 kB / 496.5 MB, free: 228 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.1284, allocations: 95.09 kB / 496.5 MB, free: 132 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.1288, allocations: 238.4 kB / 496.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.1293, allocations: 215.6 kB / 497 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00097/0.1303, allocations: 1.201 MB / 498.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008303/0.1311, allocations: 0.8024 MB / 499 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004532/0.1316, allocations: 470.7 kB / 499.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006582/0.1323, allocations: 0.5452 MB / 500 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.1324, allocations: 128 kB / 0.4884 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.1327, allocations: 156 kB / 0.4886 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.133, allocations: 355.1 kB / 0.4889 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.1334, allocations: 0.5019 MB / 0.4894 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.1346, allocations: 1.398 MB / 0.4907 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1346, allocations: 4 kB / 0.4907 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1346, allocations: 0 / 0.4907 GB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.1346, allocations: 0 / 0.4907 GB, free: 10.12 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.002736/0.1374, allocations: 1.295 MB / 0.492 GB, free: 8.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1374, allocations: 11.97 kB / 0.492 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.1376, allocations: 92.41 kB / 0.4921 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007754/0.1384, allocations: 0.5423 MB / 0.4926 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.1384, allocations: 49.69 kB / 0.4927 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.1386, allocations: 72.33 kB / 0.4928 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.14, allocations: 0.8343 MB / 0.4936 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.14, allocations: 0 / 0.4936 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.355e-05/0.1401, allocations: 28 kB / 0.4936 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.1401, allocations: 23.92 kB / 0.4936 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.1415, allocations: 0.7547 MB / 0.4944 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004169/0.1457, allocations: 3.234 MB / 0.4975 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.1481, allocations: 1.017 MB / 0.4985 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/0.1489, allocations: 443 kB / 0.4989 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.688e-05/0.149, allocations: 16.55 kB / 0.4989 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.149, allocations: 43.06 kB / 0.499 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001985/0.1492, allocations: 51.72 kB / 0.499 GB, free: 1.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 3.186e-06/0.1492, allocations: 0 / 0.499 GB, free: 1.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=61): time 0.2597/0.409, allocations: 1.896 MB / 0.5009 GB, free: 21.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.409, allocations: 57.28 kB / 0.5009 GB, free: 21.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004726/0.4095, allocations: 449 kB / 0.5014 GB, free: 21.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.4096, allocations: 39.02 kB / 0.5014 GB, free: 21.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.4097, allocations: 308.6 kB / 0.5017 GB, free: 21.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.4099, allocations: 256.5 kB / 0.502 GB, free: 21.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.4101, allocations: 133.7 kB / 0.5021 GB, free: 21.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.4102, allocations: 368.4 kB / 0.5024 GB, free: 21.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007576/0.4109, allocations: 458.3 kB / 0.5029 GB, free: 21.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007963/0.4118, allocations: 0.5338 MB / 0.5034 GB, free: 21.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009634/0.4214, allocations: 2.724 MB / 0.506 GB, free: 20.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.4214, allocations: 1.094 kB / 0.506 GB, free: 20.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002665/0.4241, allocations: 1.299 MB / 0.5073 GB, free: 20.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4241, allocations: 9.281 kB / 0.5073 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.4242, allocations: 1.406 kB / 0.5073 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007824/0.425, allocations: 210.2 kB / 0.5075 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.4266, allocations: 302.6 kB / 0.5078 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005133/0.4317, allocations: 8.485 MB / 0.5161 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.4325, allocations: 50.67 kB / 0.5162 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.261e-05/0.4325, allocations: 25.66 kB / 0.5162 GB, free: 13.23 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