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.00893/0.00893, allocations: 101.6 kB / 15.73 MB, free: 5.992 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.001827/0.001827, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09259/0.09259, allocations: 22.33 MB / 312.9 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 59.91 kB / 436.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.119, allocations: 54.96 MB / 491.5 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.005119/0.1241, allocations: 3.417 MB / 494.9 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.1264, allocations: 1.041 MB / 496 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003679/0.1268, allocations: 7.938 kB / 496 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.1271, allocations: 91.16 kB / 496.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005865/0.1277, allocations: 238.4 kB / 496.3 MB, free: 436 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.1284, allocations: 215.6 kB / 496.5 MB, free: 220 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.1298, allocations: 1.209 MB / 497.7 MB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.1311, allocations: 0.8023 MB / 498.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008693/0.1319, allocations: 466.7 kB / 499 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.133, allocations: 0.5452 MB / 499.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003241/0.1333, allocations: 128 kB / 499.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.1337, allocations: 152 kB / 499.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003956/0.1341, allocations: 359 kB / 0.4884 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007342/0.1349, allocations: 0.498 MB / 0.4889 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.1364, allocations: 1.391 MB / 0.4903 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1364, allocations: 0 / 0.4903 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1364, allocations: 0 / 0.4903 GB, free: 10.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.278e-05/0.1364, allocations: 0 / 0.4903 GB, free: 10.66 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.003615/0.1401, allocations: 1.286 MB / 0.4915 GB, free: 9.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1401, allocations: 8.031 kB / 0.4915 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001959/0.1403, allocations: 106.7 kB / 0.4916 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.1406, allocations: 83.91 kB / 0.4917 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009642/0.1415, allocations: 0.5536 MB / 0.4922 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.1416, allocations: 45.69 kB / 0.4923 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.1418, allocations: 68.28 kB / 0.4924 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.1434, allocations: 0.8381 MB / 0.4932 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1435, allocations: 7.938 kB / 0.4932 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.1436, allocations: 20 kB / 0.4932 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.1436, allocations: 12 kB / 0.4932 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.1451, allocations: 0.7625 MB / 0.494 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004942/0.15, allocations: 3.214 MB / 0.4971 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/0.1526, allocations: 1.013 MB / 0.4981 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007945/0.1534, allocations: 446.3 kB / 0.4985 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.402e-05/0.1534, allocations: 16.48 kB / 0.4985 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.1535, allocations: 39.12 kB / 0.4986 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002943/0.1538, allocations: 51.47 kB / 0.4986 GB, free: 1.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 3.496e-06/0.1538, allocations: 0 / 0.4986 GB, free: 1.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=61): time 0.2263/0.3801, allocations: 1.896 MB / 0.5005 GB, free: 22.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.3801, allocations: 58.34 kB / 0.5005 GB, free: 22.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004976/0.3807, allocations: 445.5 kB / 0.5009 GB, free: 21.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.3808, allocations: 39.11 kB / 0.501 GB, free: 21.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.381, allocations: 305.3 kB / 0.5013 GB, free: 21.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.3812, allocations: 241.5 kB / 0.5015 GB, free: 21.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.3814, allocations: 134.6 kB / 0.5016 GB, free: 21.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.3815, allocations: 372.4 kB / 0.502 GB, free: 21.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000726/0.3822, allocations: 458.3 kB / 0.5024 GB, free: 21.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/0.3829, allocations: 0.5314 MB / 0.5029 GB, free: 21.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009214/0.3921, allocations: 2.724 MB / 0.5056 GB, free: 21.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3922, allocations: 0 / 0.5056 GB, free: 21.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00233/0.3945, allocations: 1.303 MB / 0.5069 GB, free: 21.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3945, allocations: 5.688 kB / 0.5069 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3945, allocations: 1.812 kB / 0.5069 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006974/0.3952, allocations: 205.8 kB / 0.5071 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.3968, allocations: 304 kB / 0.5074 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004856/0.4017, allocations: 8.493 MB / 0.5157 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/0.4023, allocations: 45.39 kB / 0.5157 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.4024, allocations: 24.75 kB / 0.5157 GB, free: 13.48 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/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