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.001501/0.001502, allocations: 103.9 kB / 16.41 MB, free: 5.973 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.001724/0.001724, allocations: 188.5 kB / 17.34 MB, free: 5.586 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09365/0.09365, allocations: 22.32 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.91 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08278/0.08401, allocations: 54.96 MB / 492.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.01087/0.09491, allocations: 11.56 MB / 0.4924 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005699/0.1007, allocations: 3.172 MB / 0.4955 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.1022, allocations: 63.62 kB / 0.4956 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.1036, allocations: 0.5112 MB / 0.4961 GB, free: 5.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.1066, allocations: 1.316 MB / 0.4974 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.1084, allocations: 0.9168 MB / 0.4983 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1834/0.2918, allocations: 6.101 MB / 0.5042 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004805/0.2966, allocations: 4.734 MB / 0.5088 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003203/0.2999, allocations: 2.467 MB / 0.5113 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003862/0.3037, allocations: 2.759 MB / 0.5139 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.305, allocations: 0.7254 MB / 0.5147 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.3065, allocations: 0.728 MB / 0.5154 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.3081, allocations: 1.875 MB / 0.5172 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00348/0.3116, allocations: 2.717 MB / 0.5198 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006201/0.3178, allocations: 8.067 MB / 0.5277 GB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3178, allocations: 0 / 0.5277 GB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3178, allocations: 1.062 kB / 0.5277 GB, free: 1.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001483/0.318, allocations: 4 kB / 0.5277 GB, free: 1.973 MB / 382.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.0119/0.3299, allocations: 4.841 MB / 0.5325 GB, free: 14.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3299, allocations: 9.156 kB / 0.5325 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008598/0.3308, allocations: 416.9 kB / 0.5329 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003623/0.3344, allocations: 2.368 MB / 0.5352 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/0.3346, allocations: 281 kB / 0.5354 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006337/0.3353, allocations: 363.8 kB / 0.5358 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007461/0.3428, allocations: 4.37 MB / 0.5401 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.301e-05/0.3428, allocations: 1.688 kB / 0.5401 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003934/0.3432, allocations: 129.4 kB / 0.5402 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/0.3433, allocations: 80.81 kB / 0.5403 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006542/0.3498, allocations: 3.997 MB / 0.5442 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02814/0.378, allocations: 20.07 MB / 0.5638 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.3899, allocations: 5.607 MB / 0.5692 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003225/0.3932, allocations: 2.173 MB / 0.5714 GB, free: 10.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.3934, allocations: 44.34 kB / 0.5714 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.3934, allocations: 56.75 kB / 0.5715 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001444/0.3949, allocations: 262.4 kB / 0.5717 GB, free: 9.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=277): time 4.608e-06/0.3949, allocations: 0 / 0.5717 GB, free: 9.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=279): time 0.03101/0.4259, allocations: 16.93 MB / 0.5882 GB, free: 7.832 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.426, allocations: 85.59 kB / 0.5883 GB, free: 7.734 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/0.4286, allocations: 1.702 MB / 0.59 GB, free: 5.988 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003565/0.429, allocations: 77.7 kB / 0.5901 GB, free: 5.906 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008893/0.4299, allocations: 1.292 MB / 0.5913 GB, free: 4.602 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001165/0.4311, allocations: 1.05 MB / 0.5923 GB, free: 3.559 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/0.4323, allocations: 0.5185 MB / 0.5929 GB, free: 3.031 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.4324, allocations: 309.1 kB / 0.5931 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003502/0.4359, allocations: 2.183 MB / 0.5953 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003546/0.4395, allocations: 2.306 MB / 0.5975 GB, free: 14.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04276/0.4822, allocations: 12.03 MB / 0.6093 GB, free: 2.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.4823, allocations: 0 / 0.6093 GB, free: 2.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01471/0.497, allocations: 6.533 MB / 0.6157 GB, free: 11.42 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.4971, allocations: 4 kB / 0.6157 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.4971, allocations: 8.031 kB / 0.6157 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005793/0.5029, allocations: 1.864 MB / 0.6175 GB, free: 9.414 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00442/0.5073, allocations: 0.8032 MB / 0.6183 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05556/0.5629, allocations: 76.34 MB / 0.6928 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003211/0.5661, allocations: 139.8 kB / 0.693 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007721/0.5669, allocations: 104 kB / 0.6931 GB, free: 5.234 MB / 0.545 GB 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