Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_substation_001.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.Devel_test_models.Test_substation_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_substation_001") translateModel(AES.Devel_test_models.Test_substation_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_substation_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, 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.001465/0.001465, allocations: 193.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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2441/0.2441, allocations: 22.36 MB / 312.7 MB, free: 12.53 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 63.91 kB / 380.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3336, allocations: 54.96 MB / 435.8 MB, free: 39.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.01087/0.3445, allocations: 11.56 MB / 447.3 MB, free: 31.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007528/0.3521, allocations: 3.173 MB / 450.5 MB, free: 28.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003455/0.3556, allocations: 62.69 kB / 450.6 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.3577, allocations: 0.5102 MB / 451.1 MB, free: 28.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005109/0.3629, allocations: 1.312 MB / 452.4 MB, free: 27.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.3659, allocations: 0.9109 MB / 453.3 MB, free: 26.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00946/0.3754, allocations: 6.093 MB / 459.4 MB, free: 23.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009251/0.3847, allocations: 4.723 MB / 464.1 MB, free: 21.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007096/0.3919, allocations: 2.421 MB / 466.5 MB, free: 20.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007514/0.3994, allocations: 2.753 MB / 469.3 MB, free: 19.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0036/0.4031, allocations: 0.7245 MB / 470 MB, free: 19.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004545/0.4076, allocations: 0.7321 MB / 470.7 MB, free: 19.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005466/0.4131, allocations: 1.879 MB / 472.6 MB, free: 18.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01067/0.4238, allocations: 2.713 MB / 475.3 MB, free: 16.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01833/0.4422, allocations: 8.032 MB / 483.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.4422, allocations: 0 / 483.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4423, allocations: 1.031 kB / 483.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003692/0.4426, allocations: 0 / 483.4 MB, free: 12.18 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.02395/0.4666, allocations: 4.83 MB / 488.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.4667, allocations: 10 kB / 488.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002838/0.4695, allocations: 424.8 kB / 488.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005703/0.4752, allocations: 2.359 MB / 491 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/0.4755, allocations: 276.9 kB / 491.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001778/0.4773, allocations: 372 kB / 491.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.4885, allocations: 4.364 MB / 496 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.321e-05/0.4886, allocations: 0 / 496 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/0.489, allocations: 135.9 kB / 496.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/0.4891, allocations: 80 kB / 496.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007414/0.4965, allocations: 4.001 MB / 0.4885 GB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03515/0.5317, allocations: 20.24 MB / 0.5082 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/0.5441, allocations: 5.59 MB / 0.5137 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004045/0.5482, allocations: 2.177 MB / 0.5158 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.5484, allocations: 46.05 kB / 0.5159 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/0.5485, allocations: 68.69 kB / 0.5159 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002163/0.5507, allocations: 254.2 kB / 0.5162 GB, free: 15.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=277): time 5.42e-06/0.5507, allocations: 0 / 0.5162 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=279): time 0.03395/0.5846, allocations: 16.93 MB / 0.5327 GB, free: 13.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.5848, allocations: 77.61 kB / 0.5328 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/0.5876, allocations: 1.71 MB / 0.5344 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006247/0.5882, allocations: 69.7 kB / 0.5345 GB, free: 11.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000905/0.5892, allocations: 1.293 MB / 0.5358 GB, free: 10.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001429/0.5906, allocations: 1.051 MB / 0.5368 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/0.5917, allocations: 0.5069 MB / 0.5373 GB, free: 8.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5918, allocations: 309.1 kB / 0.5376 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003493/0.5953, allocations: 2.188 MB / 0.5397 GB, free: 6.074 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00349/0.5988, allocations: 2.299 MB / 0.542 GB, free: 3.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04378/0.6426, allocations: 12.06 MB / 0.5538 GB, free: 7.566 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.6427, allocations: 0 / 0.5538 GB, free: 7.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01418/0.6568, allocations: 6.539 MB / 0.5601 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.6569, allocations: 8 kB / 0.5602 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.6569, allocations: 4 kB / 0.5602 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006036/0.663, allocations: 1.864 MB / 0.562 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00466/0.6677, allocations: 0.8076 MB / 0.5628 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3176/0.9853, allocations: 76.36 MB / 0.6373 GB, free: 58.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003872/0.9892, allocations: 132 kB / 0.6375 GB, free: 58.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003804/0.9896, allocations: 107.9 kB / 0.6376 GB, free: 58.45 MB / 446.1 MB Warning: Assuming fixed start value for the following 6 variables: HC.H.Ec:VARIABLE(flow=false fixed = true ) type: Real HC.H.Tfo:VARIABLE(min = 0.0 start = HC.H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real HC.H.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real ss1.HE.Tho:VARIABLE(min = 0.0 start = 371.95 unit = "K" fixed = true nominal = 300.0 ) type: Real ss1.HE.Tco:VARIABLE(min = 0.0 start = 323.15 unit = "K" fixed = true nominal = 300.0 ) type: Real clo.tubeC.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.clo.tubeC.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