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.007389/0.007389, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001662/0.001662, allocations: 187.2 kB / 16.67 MB, free: 5.957 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2155/0.2155, allocations: 22.36 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 62.19 kB / 436.6 MB, free: 34.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09851, allocations: 54.96 MB / 491.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.004475/0.103, allocations: 3.438 MB / 495 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.1054, allocations: 1.037 MB / 496 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.1058, allocations: 7.938 kB / 496 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.1062, allocations: 91.14 kB / 496.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006834/0.1069, allocations: 246.4 kB / 496.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006954/0.1076, allocations: 211.6 kB / 496.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.1088, allocations: 1.201 MB / 497.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.1099, allocations: 0.8063 MB / 498.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006562/0.1105, allocations: 462.8 kB / 499 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008715/0.1114, allocations: 0.5491 MB / 499.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.1117, allocations: 124 kB / 499.7 MB, free: 9.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.112, allocations: 160 kB / 499.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003295/0.1123, allocations: 351.1 kB / 0.4885 GB, free: 9.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007047/0.113, allocations: 0.5018 MB / 0.4889 GB, free: 8.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.1144, allocations: 1.395 MB / 0.4903 GB, free: 7.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1144, allocations: 0 / 0.4903 GB, free: 7.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1144, allocations: 0 / 0.4903 GB, free: 7.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.328e-05/0.1145, allocations: 0 / 0.4903 GB, free: 7.121 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.003504/0.118, allocations: 1.278 MB / 0.4916 GB, free: 5.793 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.118, allocations: 12.03 kB / 0.4916 GB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002144/0.1183, allocations: 106.7 kB / 0.4917 GB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.1185, allocations: 84 kB / 0.4917 GB, free: 5.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009614/0.1195, allocations: 0.5535 MB / 0.4923 GB, free: 4.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.1195, allocations: 49.69 kB / 0.4923 GB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.1197, allocations: 76.27 kB / 0.4924 GB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.1213, allocations: 0.8303 MB / 0.4932 GB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1213, allocations: 0 / 0.4932 GB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.1214, allocations: 24 kB / 0.4932 GB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.1214, allocations: 16 kB / 0.4933 GB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.1229, allocations: 0.7508 MB / 0.494 GB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004924/0.1278, allocations: 3.234 MB / 0.4971 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.1304, allocations: 1.019 MB / 0.4981 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007923/0.1312, allocations: 450.3 kB / 0.4986 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.646e-05/0.1313, allocations: 12.55 kB / 0.4986 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.1313, allocations: 39.12 kB / 0.4986 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000244/0.1316, allocations: 43.59 kB / 0.4987 GB, free: 14.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 2.424e-06/0.1316, allocations: 4 kB / 0.4987 GB, free: 14.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=61): time 0.003956/0.1356, allocations: 1.9 MB / 0.5005 GB, free: 12.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1356, allocations: 59.97 kB / 0.5006 GB, free: 12.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/0.1361, allocations: 445.9 kB / 0.501 GB, free: 11.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/0.1362, allocations: 37.7 kB / 0.501 GB, free: 11.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.1364, allocations: 304.3 kB / 0.5013 GB, free: 11.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.1366, allocations: 248.6 kB / 0.5016 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.1369, allocations: 126.7 kB / 0.5017 GB, free: 10.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1371, allocations: 370.8 kB / 0.502 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008165/0.1379, allocations: 452.6 kB / 0.5025 GB, free: 10.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008673/0.1388, allocations: 0.5367 MB / 0.503 GB, free: 9.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.1489, allocations: 2.731 MB / 0.5057 GB, free: 6.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.1489, allocations: 4 kB / 0.5057 GB, free: 6.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00258/0.1515, allocations: 1.294 MB / 0.5069 GB, free: 5.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1515, allocations: 6.031 kB / 0.5069 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1516, allocations: 0 / 0.5069 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007589/0.1523, allocations: 212.1 kB / 0.5071 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.154, allocations: 307.6 kB / 0.5074 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00642/0.1604, allocations: 8.474 MB / 0.5157 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006886/0.1611, allocations: 51.91 kB / 0.5158 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.601e-05/0.1612, allocations: 31.98 kB / 0.5158 GB, free: 11.65 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