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.001453/0.001453, 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.001751/0.001751, allocations: 192.1 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2129/0.2129, allocations: 22.37 MB / 312.8 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 380.9 MB, free: 10.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2597, allocations: 54.94 MB / 435.9 MB, free: 39.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.003833/0.2636, allocations: 3.416 MB / 439.3 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.2651, allocations: 1.05 MB / 440.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.2653, allocations: 5.531 kB / 440.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.2656, allocations: 92.59 kB / 440.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.266, allocations: 244.6 kB / 440.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.2665, allocations: 204.4 kB / 440.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007556/0.2673, allocations: 1.194 MB / 442.1 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007243/0.268, allocations: 0.8038 MB / 442.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/0.2684, allocations: 476.2 kB / 443.3 MB, free: 35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005597/0.269, allocations: 0.5476 MB / 443.9 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.2691, allocations: 127.6 kB / 444 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.2693, allocations: 156.8 kB / 444.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.2696, allocations: 355.4 kB / 444.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003631/0.2699, allocations: 0.5047 MB / 445 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007676/0.2707, allocations: 1.377 MB / 446.4 MB, free: 33.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2707, allocations: 0 / 446.4 MB, free: 33.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2707, allocations: 0 / 446.4 MB, free: 33.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.2708, allocations: 0 / 446.4 MB, free: 33.75 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.00239/0.2731, allocations: 1.276 MB / 447.7 MB, free: 33.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2732, allocations: 7.906 kB / 447.7 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.2733, allocations: 109.1 kB / 447.8 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.2735, allocations: 84.06 kB / 447.9 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.274, allocations: 0.552 MB / 448.4 MB, free: 32.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.2741, allocations: 47.62 kB / 448.5 MB, free: 32.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.2742, allocations: 70.75 kB / 448.5 MB, free: 32.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.2755, allocations: 0.8385 MB / 449.4 MB, free: 32.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2755, allocations: 3.938 kB / 449.4 MB, free: 32.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-05/0.2756, allocations: 23.88 kB / 449.4 MB, free: 32.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.2756, allocations: 15.12 kB / 449.4 MB, free: 32.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.2769, allocations: 0.757 MB / 450.2 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003738/0.2806, allocations: 3.258 MB / 453.4 MB, free: 29.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.2829, allocations: 1.01 MB / 454.4 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007229/0.2836, allocations: 446.6 kB / 454.9 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.923e-05/0.2837, allocations: 9.828 kB / 454.9 MB, free: 29.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2837, allocations: 38.41 kB / 454.9 MB, free: 29.06 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002475/0.284, allocations: 51.33 kB / 455 MB, free: 29.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.675e-06/0.284, allocations: 0 / 455 MB, free: 29.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.003631/0.2876, allocations: 1.902 MB / 456.9 MB, free: 27.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.2877, allocations: 58.25 kB / 456.9 MB, free: 27.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.2881, allocations: 446 kB / 457.4 MB, free: 27.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.2882, allocations: 36.23 kB / 457.4 MB, free: 27.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.2883, allocations: 307.4 kB / 457.7 MB, free: 27.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.2885, allocations: 240.4 kB / 457.9 MB, free: 27.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.2888, allocations: 133.3 kB / 458.1 MB, free: 27.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.2889, allocations: 370.7 kB / 458.4 MB, free: 26.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007759/0.2896, allocations: 454 kB / 458.9 MB, free: 26.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008342/0.2905, allocations: 0.5421 MB / 459.4 MB, free: 26.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009794/0.3003, allocations: 2.734 MB / 462.2 MB, free: 25.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3003, allocations: 0 / 462.2 MB, free: 25.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002498/0.3028, allocations: 1.3 MB / 463.5 MB, free: 24.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3029, allocations: 6.547 kB / 463.5 MB, free: 24.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.3029, allocations: 1.156 kB / 463.5 MB, free: 24.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007212/0.3036, allocations: 209 kB / 463.7 MB, free: 24.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.3053, allocations: 300.4 kB / 464 MB, free: 24.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004649/0.3099, allocations: 8.486 MB / 472.4 MB, free: 16.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008947/0.3109, allocations: 50.67 kB / 472.5 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.462e-05/0.3109, allocations: 30.53 kB / 472.5 MB, free: 16.65 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