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.004629/0.004629, allocations: 99.67 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2058/0.2058, allocations: 22.36 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.42 kB / 436.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1094, allocations: 54.97 MB / 491.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.01148/0.121, allocations: 11.55 MB / 0.4913 GB, free: 6.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0067/0.1277, allocations: 3.172 MB / 0.4944 GB, free: 2.914 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.1295, allocations: 59.69 kB / 0.4945 GB, free: 2.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.1306, allocations: 0.5307 MB / 0.495 GB, free: 2.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002851/0.1335, allocations: 1.375 MB / 0.4963 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.1355, allocations: 0.9052 MB / 0.4972 GB, free: 32 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006805/0.1423, allocations: 6.115 MB / 0.5032 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005557/0.1479, allocations: 4.723 MB / 0.5078 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004129/0.152, allocations: 2.466 MB / 0.5102 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003798/0.1558, allocations: 2.753 MB / 0.5129 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001176/0.157, allocations: 0.7266 MB / 0.5136 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.1582, allocations: 0.7266 MB / 0.5143 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001528/0.1598, allocations: 1.882 MB / 0.5162 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003059/0.1628, allocations: 2.713 MB / 0.5188 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007109/0.17, allocations: 8.1 MB / 0.5267 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.17, allocations: 0 / 0.5267 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.17, allocations: 0 / 0.5267 GB, free: 1.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001566/0.1701, allocations: 4 kB / 0.5267 GB, free: 1.688 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.01125/0.1814, allocations: 4.924 MB / 0.5315 GB, free: 12.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1815, allocations: 8.031 kB / 0.5315 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006353/0.1821, allocations: 463.8 kB / 0.532 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008307/0.1829, allocations: 442.2 kB / 0.5324 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004539/0.1875, allocations: 2.392 MB / 0.5347 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.1877, allocations: 276.9 kB / 0.535 GB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006314/0.1884, allocations: 368.2 kB / 0.5354 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007619/0.196, allocations: 4.368 MB / 0.5396 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.888e-05/0.1961, allocations: 0 / 0.5396 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003592/0.1964, allocations: 140 kB / 0.5398 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.229e-05/0.1965, allocations: 80 kB / 0.5398 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006404/0.2029, allocations: 3.997 MB / 0.5437 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02989/0.2328, allocations: 20.11 MB / 0.5634 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/0.2446, allocations: 5.605 MB / 0.5689 GB, free: 5.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003591/0.2482, allocations: 2.169 MB / 0.571 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/0.2485, allocations: 42.23 kB / 0.571 GB, free: 2.871 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.58e-05/0.2486, allocations: 60.75 kB / 0.5711 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001664/0.2502, allocations: 254.5 kB / 0.5713 GB, free: 2.551 MB / 446.1 MB Notification: Performance of pre-optimization done (n=277): time 1.205e-05/0.2503, allocations: 0 / 0.5713 GB, free: 2.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=279): time 0.03619/0.2865, allocations: 16.99 MB / 0.5879 GB, free: 372 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.2866, allocations: 85.55 kB / 0.588 GB, free: 272 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.275/0.5616, allocations: 1.699 MB / 0.5896 GB, free: 98.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001016/0.5627, allocations: 74.59 kB / 0.5897 GB, free: 98.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.5639, allocations: 1.323 MB / 0.591 GB, free: 98.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00162/0.5656, allocations: 1.104 MB / 0.5921 GB, free: 97.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009977/0.5666, allocations: 0.5087 MB / 0.5926 GB, free: 97.45 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.5666, allocations: 308.9 kB / 0.5929 GB, free: 97.15 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/0.5696, allocations: 2.182 MB / 0.595 GB, free: 96.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003221/0.5728, allocations: 2.298 MB / 0.5972 GB, free: 95.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04118/0.614, allocations: 12.04 MB / 0.609 GB, free: 91.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.6141, allocations: 3.812 kB / 0.609 GB, free: 91.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.0109/0.625, allocations: 6.543 MB / 0.6154 GB, free: 86.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.625, allocations: 7.938 kB / 0.6154 GB, free: 86.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.6251, allocations: 4 kB / 0.6154 GB, free: 86.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004793/0.6298, allocations: 1.864 MB / 0.6172 GB, free: 84.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/0.6336, allocations: 0.7998 MB / 0.618 GB, free: 83.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0359/0.6695, allocations: 76.38 MB / 0.6926 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/0.6725, allocations: 135.8 kB / 0.6927 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000284/0.6728, allocations: 108 kB / 0.6928 GB, free: 292 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