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: translateModel(AES.Coursework.ThermSys_component_models.Hydraulic_circuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit") translateModel(AES.Coursework.ThermSys_component_models.Hydraulic_circuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 108 kB / 15.61 MB, free: 152 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.001244/0.001244, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.583/1.583, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2078/0.2078, allocations: 22.34 MB / 312.7 MB, free: 12.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 59.91 kB / 380.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.339, allocations: 54.94 MB / 435.8 MB, free: 39.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.004001/0.3431, allocations: 3.427 MB / 439.2 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3449, allocations: 1.042 MB / 440.2 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.3451, allocations: 9.5 kB / 440.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.3453, allocations: 92.66 kB / 440.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003872/0.3457, allocations: 238 kB / 440.6 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.3463, allocations: 202.7 kB / 440.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008912/0.3472, allocations: 1.204 MB / 442 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007036/0.3479, allocations: 0.8065 MB / 442.8 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.3482, allocations: 468.5 kB / 443.2 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005124/0.3488, allocations: 0.5459 MB / 443.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.3489, allocations: 124.6 kB / 443.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.3492, allocations: 161.6 kB / 444 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.3494, allocations: 353.2 kB / 444.4 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.3498, allocations: 0.5027 MB / 444.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009215/0.3507, allocations: 1.375 MB / 446.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3507, allocations: 3.5 kB / 446.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.3507, allocations: 0 / 446.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3508, allocations: 7.938 kB / 446.3 MB, free: 33.81 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.002479/0.3532, allocations: 1.273 MB / 447.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.3533, allocations: 7.906 kB / 447.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.3534, allocations: 87.38 kB / 447.6 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.354, allocations: 0.5495 MB / 448.2 MB, free: 32.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.3541, allocations: 45.5 kB / 448.2 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.3542, allocations: 69.22 kB / 448.3 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.3555, allocations: 0.8464 MB / 449.2 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3555, allocations: 0 / 449.2 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.109e-05/0.3556, allocations: 21.97 kB / 449.2 MB, free: 32.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.3556, allocations: 15.75 kB / 449.2 MB, free: 32.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.3569, allocations: 0.7541 MB / 449.9 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.3607, allocations: 3.256 MB / 453.2 MB, free: 29.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.3629, allocations: 1.025 MB / 454.2 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008842/0.3638, allocations: 438.1 kB / 454.7 MB, free: 29.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.291e-05/0.3639, allocations: 11.3 kB / 454.7 MB, free: 29.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3639, allocations: 49.47 kB / 454.7 MB, free: 29.19 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002615/0.3642, allocations: 42.91 kB / 454.8 MB, free: 29.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.184e-06/0.3642, allocations: 1.125 kB / 454.8 MB, free: 29.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.003951/0.3682, allocations: 1.898 MB / 456.7 MB, free: 28.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.3682, allocations: 58.94 kB / 456.7 MB, free: 28.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005578/0.3688, allocations: 442.6 kB / 457.1 MB, free: 27.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.472e-05/0.3688, allocations: 36.58 kB / 457.2 MB, free: 27.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.369, allocations: 308.4 kB / 457.5 MB, free: 27.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.3692, allocations: 237.5 kB / 457.7 MB, free: 27.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.3695, allocations: 133.7 kB / 457.8 MB, free: 27.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3696, allocations: 376.2 kB / 458.2 MB, free: 26.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008304/0.3705, allocations: 460.8 kB / 458.7 MB, free: 26.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009339/0.3714, allocations: 0.5386 MB / 459.2 MB, free: 26.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/0.3818, allocations: 2.73 MB / 461.9 MB, free: 25.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.3818, allocations: 1.188 kB / 461.9 MB, free: 25.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002875/0.3847, allocations: 1.302 MB / 463.2 MB, free: 25.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.3848, allocations: 6.438 kB / 463.2 MB, free: 25.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3848, allocations: 2.719 kB / 463.2 MB, free: 25.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008383/0.3856, allocations: 200.8 kB / 463.4 MB, free: 25.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.3875, allocations: 308.1 kB / 463.7 MB, free: 25.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005351/0.3929, allocations: 8.48 MB / 472.2 MB, free: 16.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009345/0.3938, allocations: 50.2 kB / 472.3 MB, free: 16.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.3939, allocations: 32.81 kB / 472.3 MB, free: 16.79 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/jenkins/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