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: "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Hydraulic_circuit,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Hydraulic_circuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Hydraulic_circuit,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Hydraulic_circuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007278/0.007278, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001864/0.001865, allocations: 197.1 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1966/0.1966, allocations: 22.35 MB / 312.9 MB, free: 12.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 62.91 kB / 436.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0832/0.08507, allocations: 54.96 MB / 491.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.003759/0.08886, allocations: 3.43 MB / 495 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.09053, allocations: 1.044 MB / 496 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.09069, allocations: 4 kB / 496 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.09091, allocations: 95.14 kB / 496.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.09132, allocations: 242.4 kB / 496.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.09184, allocations: 207.6 kB / 496.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.09298, allocations: 1.205 MB / 497.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008917/0.09388, allocations: 0.8026 MB / 498.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004695/0.09436, allocations: 474.7 kB / 499 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006854/0.09505, allocations: 0.5413 MB / 499.6 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.09523, allocations: 131.9 kB / 499.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.0955, allocations: 160 kB / 499.8 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.09581, allocations: 351.1 kB / 0.4885 GB, free: 9.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000487/0.09631, allocations: 0.498 MB / 0.489 GB, free: 8.539 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.09757, allocations: 1.394 MB / 0.4903 GB, free: 7.141 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.09759, allocations: 0 / 0.4903 GB, free: 7.141 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09759, allocations: 4 kB / 0.4903 GB, free: 7.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.09761, allocations: 0 / 0.4903 GB, free: 7.137 MB / 366.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.002681/0.1003, allocations: 1.301 MB / 0.4916 GB, free: 5.785 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1003, allocations: 8.031 kB / 0.4916 GB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.1005, allocations: 110.7 kB / 0.4917 GB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.1006, allocations: 84.42 kB / 0.4918 GB, free: 5.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/0.1014, allocations: 0.5578 MB / 0.4923 GB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.1015, allocations: 45.69 kB / 0.4924 GB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.1016, allocations: 72.33 kB / 0.4924 GB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.1031, allocations: 0.8419 MB / 0.4933 GB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1031, allocations: 0 / 0.4933 GB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.1032, allocations: 24 kB / 0.4933 GB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.1032, allocations: 16 kB / 0.4933 GB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.1047, allocations: 0.7508 MB / 0.494 GB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004612/0.1094, allocations: 3.23 MB / 0.4972 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.1119, allocations: 1.025 MB / 0.4982 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008101/0.1127, allocations: 446.3 kB / 0.4986 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/0.1127, allocations: 8.547 kB / 0.4986 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1128, allocations: 39.69 kB / 0.4987 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002177/0.113, allocations: 51.67 kB / 0.4987 GB, free: 14.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 1.893e-06/0.113, allocations: 0 / 0.4987 GB, free: 14.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=61): time 0.004017/0.117, allocations: 1.904 MB / 0.5006 GB, free: 12.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1171, allocations: 55.97 kB / 0.5006 GB, free: 12.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.1176, allocations: 453.8 kB / 0.5011 GB, free: 11.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.1177, allocations: 33.7 kB / 0.5011 GB, free: 11.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.1179, allocations: 308.9 kB / 0.5014 GB, free: 11.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.1181, allocations: 249.9 kB / 0.5016 GB, free: 11.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.1184, allocations: 138.6 kB / 0.5018 GB, free: 10.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1186, allocations: 370.8 kB / 0.5021 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008602/0.1194, allocations: 452.6 kB / 0.5025 GB, free: 10.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009201/0.1204, allocations: 0.5406 MB / 0.5031 GB, free: 9.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009782/0.1302, allocations: 2.719 MB / 0.5057 GB, free: 6.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1302, allocations: 0 / 0.5057 GB, free: 6.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002597/0.1328, allocations: 1.302 MB / 0.507 GB, free: 5.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1328, allocations: 8 kB / 0.507 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1328, allocations: 0 / 0.507 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007369/0.1336, allocations: 208.1 kB / 0.5072 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.1352, allocations: 303.6 kB / 0.5075 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006938/0.1421, allocations: 8.486 MB / 0.5158 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006603/0.1428, allocations: 55.81 kB / 0.5158 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.1429, allocations: 24 kB / 0.5159 GB, free: 11.61 MB / 398.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