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: "" <> buildModelFMU(AES.Devel_test_models.Test_substation_001,fileNamePrefix="AES_AES_Devel_test_models_Test_substation_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_substation_001,fileNamePrefix="AES_AES_Devel_test_models_Test_substation_001",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.001211/0.001212, 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.001354/0.001354, allocations: 195.5 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.437/1.437, 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.2304/0.2304, allocations: 22.36 MB / 312.7 MB, free: 12.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002096, allocations: 67.89 kB / 380.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3119, allocations: 54.93 MB / 435.9 MB, free: 39.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.01093/0.3228, allocations: 11.56 MB / 447.4 MB, free: 31.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005831/0.3287, allocations: 3.168 MB / 450.6 MB, free: 28.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.3307, allocations: 62.94 kB / 450.7 MB, free: 28.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009029/0.3316, allocations: 0.5156 MB / 451.2 MB, free: 28.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002532/0.3342, allocations: 1.312 MB / 452.5 MB, free: 27.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.3358, allocations: 0.9152 MB / 453.4 MB, free: 27.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005116/0.3409, allocations: 6.087 MB / 459.5 MB, free: 23.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00522/0.3461, allocations: 4.718 MB / 464.2 MB, free: 21.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003921/0.3501, allocations: 2.421 MB / 466.6 MB, free: 20.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00459/0.3547, allocations: 2.755 MB / 469.4 MB, free: 19.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00176/0.3565, allocations: 0.7286 MB / 470.1 MB, free: 19.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.3583, allocations: 0.7287 MB / 470.9 MB, free: 19.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00166/0.36, allocations: 1.876 MB / 472.7 MB, free: 18.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004045/0.3641, allocations: 2.717 MB / 475.4 MB, free: 16.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007863/0.3719, allocations: 8.027 MB / 483.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.372, allocations: 0 / 483.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.372, allocations: 0 / 483.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001952/0.3722, allocations: 1.25 kB / 483.5 MB, free: 12.14 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.01342/0.3856, allocations: 4.83 MB / 488.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3857, allocations: 9.812 kB / 488.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007011/0.3864, allocations: 461.8 kB / 488.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009127/0.3873, allocations: 428 kB / 489.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003191/0.3905, allocations: 2.347 MB / 491.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.3907, allocations: 280.9 kB / 491.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000546/0.3912, allocations: 372 kB / 492.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006209/0.3974, allocations: 4.368 MB / 496.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.401e-05/0.3975, allocations: 3.984 kB / 496.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003475/0.3979, allocations: 135.9 kB / 496.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/0.3979, allocations: 76 kB / 496.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006365/0.4043, allocations: 4.001 MB / 0.489 GB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03049/0.4348, allocations: 20.24 MB / 0.5088 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/0.4463, allocations: 5.598 MB / 0.5142 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003448/0.4498, allocations: 2.177 MB / 0.5164 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/0.45, allocations: 46.06 kB / 0.5164 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/0.4501, allocations: 68.73 kB / 0.5165 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001842/0.4519, allocations: 254.2 kB / 0.5167 GB, free: 14.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=277): time 9.648e-06/0.452, allocations: 0 / 0.5167 GB, free: 14.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=279): time 0.03287/0.4848, allocations: 16.93 MB / 0.5332 GB, free: 12.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.4849, allocations: 77.61 kB / 0.5333 GB, free: 12.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/0.4878, allocations: 1.71 MB / 0.535 GB, free: 11.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003382/0.4881, allocations: 69.7 kB / 0.5351 GB, free: 10.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009064/0.4891, allocations: 1.3 MB / 0.5363 GB, free: 9.629 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001255/0.4903, allocations: 1.044 MB / 0.5373 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/0.4916, allocations: 0.5108 MB / 0.5378 GB, free: 8.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.4917, allocations: 309.1 kB / 0.5381 GB, free: 7.746 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003443/0.4952, allocations: 2.185 MB / 0.5403 GB, free: 5.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003473/0.4986, allocations: 2.303 MB / 0.5425 GB, free: 3.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04295/0.5416, allocations: 12.07 MB / 0.5543 GB, free: 7.035 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.5416, allocations: 0 / 0.5543 GB, free: 7.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01484/0.5565, allocations: 6.528 MB / 0.5607 GB, free: 332 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.5566, allocations: 8 kB / 0.5607 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.5566, allocations: 4 kB / 0.5607 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006109/0.5627, allocations: 1.864 MB / 0.5625 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004917/0.5676, allocations: 0.7998 MB / 0.5633 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2543/0.822, allocations: 76.39 MB / 0.6379 GB, free: 57.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/0.8256, allocations: 133.2 kB / 0.638 GB, free: 57.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009961/0.8266, allocations: 109.8 kB / 0.6381 GB, free: 57.57 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/jenkins1/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