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.001243/0.001243, 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.001477/0.001477, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.234/1.234, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1675/0.1675, allocations: 22.36 MB / 312.7 MB, free: 12.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.89 kB / 380.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2292, allocations: 54.94 MB / 435.9 MB, free: 39.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.01173/0.2409, allocations: 11.55 MB / 447.4 MB, free: 31.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006023/0.247, allocations: 3.171 MB / 450.6 MB, free: 29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.2484, allocations: 64.03 kB / 450.7 MB, free: 28.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.2495, allocations: 0.5148 MB / 451.2 MB, free: 28.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.2514, allocations: 1.315 MB / 452.5 MB, free: 27.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.2527, allocations: 0.9171 MB / 453.4 MB, free: 27.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003539/0.2563, allocations: 6.087 MB / 459.5 MB, free: 24.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004088/0.2604, allocations: 4.723 MB / 464.2 MB, free: 21.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.263, allocations: 2.415 MB / 466.6 MB, free: 20.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.266, allocations: 2.759 MB / 469.4 MB, free: 19.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008302/0.2668, allocations: 0.7277 MB / 470.1 MB, free: 19.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.2679, allocations: 0.7289 MB / 470.9 MB, free: 19.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.2692, allocations: 1.879 MB / 472.7 MB, free: 18.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002344/0.2715, allocations: 2.713 MB / 475.4 MB, free: 16.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00579/0.2773, allocations: 8.025 MB / 483.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2773, allocations: 4 kB / 483.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2773, allocations: 0 / 483.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001349/0.2775, allocations: 1.406 kB / 483.5 MB, free: 12.2 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.01072/0.2882, allocations: 4.827 MB / 488.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2883, allocations: 17.08 kB / 488.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006122/0.2889, allocations: 458.1 kB / 488.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007872/0.2897, allocations: 426.9 kB / 489.2 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/0.2927, allocations: 2.351 MB / 491.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.2928, allocations: 276.9 kB / 491.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005263/0.2934, allocations: 364 kB / 492.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008074/0.3014, allocations: 4.371 MB / 496.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-05/0.3015, allocations: 0 / 496.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005739/0.3021, allocations: 132 kB / 496.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.235e-05/0.3022, allocations: 83.98 kB / 496.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.3132, allocations: 4 MB / 0.489 GB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04622/0.3594, allocations: 20.23 MB / 0.5088 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01955/0.379, allocations: 5.616 MB / 0.5142 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005926/0.3849, allocations: 2.172 MB / 0.5164 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.3853, allocations: 42.16 kB / 0.5164 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.24e-05/0.3854, allocations: 60.69 kB / 0.5165 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002384/0.3878, allocations: 258.2 kB / 0.5167 GB, free: 15.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=277): time 9.518e-06/0.3878, allocations: 0 / 0.5167 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=279): time 0.04155/0.4293, allocations: 16.93 MB / 0.5332 GB, free: 12.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.4294, allocations: 81.61 kB / 0.5333 GB, free: 12.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/0.4321, allocations: 1.706 MB / 0.535 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002607/0.4324, allocations: 77.7 kB / 0.5351 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008903/0.4333, allocations: 1.296 MB / 0.5363 GB, free: 9.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001095/0.4344, allocations: 1.044 MB / 0.5373 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/0.4355, allocations: 0.5069 MB / 0.5378 GB, free: 8.102 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.4356, allocations: 313 kB / 0.5381 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003442/0.4391, allocations: 2.184 MB / 0.5403 GB, free: 5.594 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003476/0.4426, allocations: 2.303 MB / 0.5425 GB, free: 3.246 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0407/0.4833, allocations: 12.06 MB / 0.5543 GB, free: 7.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.4833, allocations: 0 / 0.5543 GB, free: 7.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01241/0.4957, allocations: 6.532 MB / 0.5607 GB, free: 380 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4958, allocations: 4 kB / 0.5607 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.4958, allocations: 4 kB / 0.5607 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005562/0.5014, allocations: 1.868 MB / 0.5625 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003813/0.5052, allocations: 0.8036 MB / 0.5633 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1956/0.7008, allocations: 76.37 MB / 0.6379 GB, free: 57.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/0.7037, allocations: 140.6 kB / 0.638 GB, free: 57.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005459/0.7043, allocations: 110.4 kB / 0.6381 GB, free: 57.81 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