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.001456/0.001456, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 195 kB / 16.53 MB, free: 6.391 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1964/0.1964, allocations: 22.36 MB / 312.7 MB, free: 12.64 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.89 kB / 380.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2675, allocations: 54.94 MB / 435.9 MB, free: 39.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.003772/0.2713, allocations: 3.425 MB / 439.3 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2727, allocations: 1.043 MB / 440.4 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.2729, allocations: 13.62 kB / 440.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.2731, allocations: 91.44 kB / 440.5 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.2735, allocations: 239.3 kB / 440.7 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.2739, allocations: 205.6 kB / 440.9 MB, free: 36.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007162/0.2747, allocations: 1.205 MB / 442.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006403/0.2753, allocations: 0.801 MB / 442.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.2757, allocations: 471.2 kB / 443.4 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004776/0.2761, allocations: 0.5408 MB / 443.9 MB, free: 34.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.2763, allocations: 125.4 kB / 444 MB, free: 34.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.2765, allocations: 159.5 kB / 444.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.2767, allocations: 355.2 kB / 444.5 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.2771, allocations: 0.5034 MB / 445 MB, free: 34.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000771/0.2779, allocations: 1.376 MB / 446.4 MB, free: 33.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2779, allocations: 0 / 446.4 MB, free: 33.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2779, allocations: 2.875 kB / 446.4 MB, free: 33.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.2779, allocations: 0 / 446.4 MB, free: 33.67 MB / 350.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.002383/0.2803, allocations: 1.282 MB / 447.7 MB, free: 32.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2803, allocations: 8.281 kB / 447.7 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.2805, allocations: 105.4 kB / 447.8 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.2806, allocations: 87.75 kB / 447.9 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006142/0.2812, allocations: 0.551 MB / 448.4 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.2813, allocations: 47.12 kB / 448.5 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.2814, allocations: 67.38 kB / 448.5 MB, free: 32.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.2827, allocations: 0.8406 MB / 449.4 MB, free: 32.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.2827, allocations: 0 / 449.4 MB, free: 32.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.2828, allocations: 21.25 kB / 449.4 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.2828, allocations: 14.06 kB / 449.4 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.2841, allocations: 0.755 MB / 450.2 MB, free: 31.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003757/0.2879, allocations: 3.257 MB / 453.4 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.2902, allocations: 1.019 MB / 454.5 MB, free: 29.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008121/0.291, allocations: 438.8 kB / 454.9 MB, free: 29.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.439e-05/0.2911, allocations: 15.45 kB / 454.9 MB, free: 29.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.2911, allocations: 45.03 kB / 454.9 MB, free: 28.97 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002248/0.2913, allocations: 43.09 kB / 455 MB, free: 28.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.074e-06/0.2913, allocations: 0 / 455 MB, free: 28.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.003845/0.2952, allocations: 1.896 MB / 456.9 MB, free: 27.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.2952, allocations: 62.75 kB / 456.9 MB, free: 27.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.2957, allocations: 446.2 kB / 457.4 MB, free: 27.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.2957, allocations: 35.98 kB / 457.4 MB, free: 27.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.2959, allocations: 314 kB / 457.7 MB, free: 27.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.2961, allocations: 237.9 kB / 458 MB, free: 27.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.2963, allocations: 133.6 kB / 458.1 MB, free: 27.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2964, allocations: 377.7 kB / 458.4 MB, free: 26.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008737/0.2973, allocations: 454.7 kB / 458.9 MB, free: 26.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008491/0.2982, allocations: 0.5336 MB / 459.4 MB, free: 26.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/0.3082, allocations: 2.735 MB / 462.2 MB, free: 25.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.3083, allocations: 1.469 kB / 462.2 MB, free: 25.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002477/0.3107, allocations: 1.297 MB / 463.5 MB, free: 24.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3108, allocations: 5.344 kB / 463.5 MB, free: 24.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3108, allocations: 3.156 kB / 463.5 MB, free: 24.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007439/0.3115, allocations: 204.6 kB / 463.7 MB, free: 24.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.3132, allocations: 304.5 kB / 464 MB, free: 24.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004678/0.3179, allocations: 8.486 MB / 472.5 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000665/0.3186, allocations: 50.19 kB / 472.5 MB, free: 16.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/0.3186, allocations: 25.25 kB / 472.5 MB, free: 16.57 MB / 350.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:1211:5-1211: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