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.00162/0.00162, allocations: 112.5 kB / 15.74 MB, free: 68 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.001597/0.001597, allocations: 195.2 kB / 16.67 MB, free: 6.582 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1984/0.1984, allocations: 22.37 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 61.52 kB / 436.6 MB, free: 34.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0836/0.08568, allocations: 54.96 MB / 491.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.01175/0.09745, allocations: 11.57 MB / 0.4913 GB, free: 6.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005999/0.1035, allocations: 3.172 MB / 0.4944 GB, free: 2.906 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.1046, allocations: 59.69 kB / 0.4945 GB, free: 2.848 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009327/0.1055, allocations: 0.5151 MB / 0.495 GB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.1079, allocations: 1.312 MB / 0.4963 GB, free: 1.008 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.1095, allocations: 0.913 MB / 0.4972 GB, free: 96 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006409/0.116, allocations: 6.115 MB / 0.5031 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005732/0.1217, allocations: 4.719 MB / 0.5077 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.1249, allocations: 2.427 MB / 0.5101 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003818/0.1287, allocations: 2.754 MB / 0.5128 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001033/0.1298, allocations: 0.7266 MB / 0.5135 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.1309, allocations: 0.7266 MB / 0.5142 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001664/0.1326, allocations: 1.882 MB / 0.516 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002981/0.1356, allocations: 2.713 MB / 0.5187 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007665/0.1433, allocations: 8.092 MB / 0.5266 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1433, allocations: 3.984 kB / 0.5266 GB, free: 1.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1433, allocations: 0 / 0.5266 GB, free: 1.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.252e-05/0.1434, allocations: 0 / 0.5266 GB, free: 1.805 MB / 398.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.01126/0.1547, allocations: 4.935 MB / 0.5314 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1547, allocations: 12.03 kB / 0.5314 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006469/0.1554, allocations: 459.8 kB / 0.5319 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007762/0.1562, allocations: 442.3 kB / 0.5323 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/0.1599, allocations: 2.384 MB / 0.5346 GB, free: 9.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/0.1601, allocations: 272.9 kB / 0.5349 GB, free: 9.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006328/0.1608, allocations: 372.2 kB / 0.5352 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007638/0.1684, allocations: 4.371 MB / 0.5395 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.917e-05/0.1685, allocations: 0 / 0.5395 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003854/0.1689, allocations: 136 kB / 0.5396 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.245e-05/0.1689, allocations: 76 kB / 0.5397 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007028/0.176, allocations: 3.997 MB / 0.5436 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02955/0.2055, allocations: 20.12 MB / 0.5633 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/0.2179, allocations: 5.597 MB / 0.5687 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003442/0.2214, allocations: 2.173 MB / 0.5708 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.2216, allocations: 42.16 kB / 0.5709 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.2217, allocations: 64.75 kB / 0.571 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00115/0.2228, allocations: 250.5 kB / 0.5712 GB, free: 2.664 MB / 446.1 MB Notification: Performance of pre-optimization done (n=277): time 4.388e-06/0.2228, allocations: 0 / 0.5712 GB, free: 2.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=279): time 0.03121/0.2541, allocations: 16.99 MB / 0.5878 GB, free: 480 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.2542, allocations: 77.61 kB / 0.5879 GB, free: 388 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1996/0.4538, allocations: 1.705 MB / 0.5895 GB, free: 98.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006918/0.4545, allocations: 72.39 kB / 0.5896 GB, free: 98.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006674/0.4552, allocations: 1.317 MB / 0.5909 GB, free: 98.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007794/0.456, allocations: 1.103 MB / 0.592 GB, free: 97.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008795/0.4568, allocations: 0.5117 MB / 0.5925 GB, free: 97.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.724e-05/0.4569, allocations: 311.2 kB / 0.5928 GB, free: 97.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/0.4597, allocations: 2.181 MB / 0.5949 GB, free: 96.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002798/0.4625, allocations: 2.298 MB / 0.5971 GB, free: 95.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03809/0.5006, allocations: 12.04 MB / 0.6089 GB, free: 91.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.5006, allocations: 0 / 0.6089 GB, free: 91.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01152/0.5121, allocations: 6.543 MB / 0.6153 GB, free: 86.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.5122, allocations: 11.97 kB / 0.6153 GB, free: 86.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.5122, allocations: 5.562 kB / 0.6153 GB, free: 86.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004563/0.5168, allocations: 1.864 MB / 0.6171 GB, free: 84.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003649/0.5205, allocations: 0.7998 MB / 0.6179 GB, free: 83.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03232/0.5528, allocations: 76.38 MB / 0.6925 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/0.5553, allocations: 135.8 kB / 0.6926 GB, free: 456 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005721/0.5559, allocations: 108 kB / 0.6927 GB, free: 348 kB / 462.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:1212:5-1212: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