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.004773/0.004773, allocations: 102.4 kB / 15.74 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.001068/0.001068, 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2606/0.2606, allocations: 22.36 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.56 kB / 436.6 MB, free: 33.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08655/0.08781, allocations: 54.97 MB / 491.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.003764/0.09161, allocations: 3.431 MB / 495 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.09372, allocations: 1.033 MB / 496 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.09395, allocations: 7.938 kB / 496 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.09423, allocations: 95.16 kB / 496.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.09468, allocations: 262.4 kB / 496.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.09523, allocations: 207.6 kB / 496.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009931/0.09623, allocations: 1.201 MB / 497.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009265/0.09716, allocations: 0.8026 MB / 498.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005372/0.09771, allocations: 470.8 kB / 499 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006785/0.0984, allocations: 0.5452 MB / 499.6 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.09856, allocations: 128 kB / 499.7 MB, free: 9.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.0988, allocations: 163.9 kB / 499.9 MB, free: 9.328 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.09908, allocations: 351.1 kB / 0.4885 GB, free: 8.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004582/0.09955, allocations: 0.5057 MB / 0.489 GB, free: 8.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.1008, allocations: 1.386 MB / 0.4903 GB, free: 7.086 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1008, allocations: 0 / 0.4903 GB, free: 7.086 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1008, allocations: 4 kB / 0.4903 GB, free: 7.082 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.1008, allocations: 0 / 0.4903 GB, free: 7.082 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.002825/0.1036, allocations: 1.309 MB / 0.4916 GB, free: 5.723 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1037, allocations: 8.031 kB / 0.4916 GB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.1038, allocations: 106.7 kB / 0.4917 GB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.104, allocations: 84.42 kB / 0.4918 GB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000851/0.1049, allocations: 0.5578 MB / 0.4923 GB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.539e-05/0.1049, allocations: 45.69 kB / 0.4924 GB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.1051, allocations: 72.33 kB / 0.4925 GB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.1066, allocations: 0.8381 MB / 0.4933 GB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1066, allocations: 0 / 0.4933 GB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/0.1067, allocations: 24 kB / 0.4933 GB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.1067, allocations: 16 kB / 0.4933 GB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.1082, allocations: 0.7508 MB / 0.494 GB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004802/0.113, allocations: 3.234 MB / 0.4972 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/0.1155, allocations: 1.029 MB / 0.4982 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008277/0.1164, allocations: 438.4 kB / 0.4986 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.193e-05/0.1165, allocations: 8.562 kB / 0.4986 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.1165, allocations: 35.12 kB / 0.4987 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002966/0.1168, allocations: 59.66 kB / 0.4987 GB, free: 14.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 3.116e-06/0.1168, allocations: 0 / 0.4987 GB, free: 14.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=61): time 0.004054/0.1209, allocations: 1.9 MB / 0.5006 GB, free: 12.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.1209, allocations: 59.97 kB / 0.5006 GB, free: 12.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/0.1215, allocations: 449.9 kB / 0.5011 GB, free: 11.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/0.1216, allocations: 33.7 kB / 0.5011 GB, free: 11.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.1218, allocations: 312.8 kB / 0.5014 GB, free: 11.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.122, allocations: 249.9 kB / 0.5016 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.1222, allocations: 138.6 kB / 0.5018 GB, free: 10.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1224, allocations: 366.8 kB / 0.5021 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008559/0.1233, allocations: 460.6 kB / 0.5026 GB, free: 10.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008957/0.1242, allocations: 0.5289 MB / 0.5031 GB, free: 9.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009893/0.1341, allocations: 2.727 MB / 0.5057 GB, free: 6.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.1341, allocations: 4 kB / 0.5057 GB, free: 6.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002644/0.1368, allocations: 1.298 MB / 0.507 GB, free: 5.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1368, allocations: 8 kB / 0.507 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.1368, allocations: 0 / 0.507 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007485/0.1376, allocations: 216 kB / 0.5072 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.1392, allocations: 299.6 kB / 0.5075 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006098/0.1453, allocations: 8.489 MB / 0.5158 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.146, allocations: 48.08 kB / 0.5158 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.1461, allocations: 31.98 kB / 0.5159 GB, free: 11.55 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