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.01232/0.01232, allocations: 102.2 kB / 15.73 MB, free: 6.484 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.002209/0.002209, allocations: 196.3 kB / 16.68 MB, free: 6.375 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.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2371/0.2371, allocations: 22.35 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 65.73 kB / 437.1 MB, free: 33.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1411, allocations: 54.96 MB / 492 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.01286/0.154, allocations: 11.56 MB / 0.4918 GB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009883/0.1639, allocations: 3.172 MB / 0.4949 GB, free: 2.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003815/0.1678, allocations: 63.62 kB / 0.495 GB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.1698, allocations: 0.5112 MB / 0.4955 GB, free: 1.812 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.1745, allocations: 1.312 MB / 0.4967 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.1769, allocations: 0.913 MB / 0.4976 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007415/0.1843, allocations: 6.111 MB / 0.5036 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006465/0.1908, allocations: 4.727 MB / 0.5082 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005122/0.196, allocations: 2.47 MB / 0.5106 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005613/0.2016, allocations: 2.757 MB / 0.5133 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001649/0.2033, allocations: 0.7227 MB / 0.514 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.2051, allocations: 0.7305 MB / 0.5147 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001695/0.2068, allocations: 1.882 MB / 0.5166 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004065/0.2109, allocations: 2.713 MB / 0.5192 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007832/0.2187, allocations: 8.072 MB / 0.5271 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2188, allocations: 0 / 0.5271 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.2188, allocations: 0 / 0.5271 GB, free: 1.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002747/0.2191, allocations: 4 kB / 0.5271 GB, free: 1.262 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.01637/0.2354, allocations: 4.822 MB / 0.5318 GB, free: 12.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.2355, allocations: 8.031 kB / 0.5318 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009053/0.2364, allocations: 420.1 kB / 0.5322 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003914/0.2404, allocations: 2.375 MB / 0.5346 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.2406, allocations: 276.8 kB / 0.5348 GB, free: 9.246 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006227/0.2412, allocations: 379.9 kB / 0.5352 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007794/0.249, allocations: 4.368 MB / 0.5394 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.881e-05/0.2491, allocations: 0 / 0.5394 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003708/0.2495, allocations: 132 kB / 0.5396 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.06e-05/0.2496, allocations: 80 kB / 0.5396 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006616/0.2562, allocations: 3.997 MB / 0.5436 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03093/0.2871, allocations: 20.08 MB / 0.5632 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/0.2995, allocations: 5.598 MB / 0.5686 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004726/0.3043, allocations: 2.169 MB / 0.5707 GB, free: 3.129 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.3046, allocations: 42.23 kB / 0.5708 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.3046, allocations: 64.75 kB / 0.5709 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002169/0.3068, allocations: 258 kB / 0.5711 GB, free: 2.758 MB / 446.1 MB Notification: Performance of pre-optimization done (n=277): time 1.628e-05/0.3068, allocations: 0 / 0.5711 GB, free: 2.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=279): time 0.03561/0.3425, allocations: 16.93 MB / 0.5876 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.3426, allocations: 77.61 kB / 0.5877 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3692/0.7118, allocations: 1.701 MB / 0.5894 GB, free: 98.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001179/0.713, allocations: 73.61 kB / 0.5894 GB, free: 98.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.7141, allocations: 1.288 MB / 0.5907 GB, free: 97.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001502/0.7156, allocations: 1.057 MB / 0.5917 GB, free: 97.31 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009815/0.7166, allocations: 0.5098 MB / 0.5922 GB, free: 97.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.7166, allocations: 308.5 kB / 0.5925 GB, free: 96.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003057/0.7197, allocations: 2.183 MB / 0.5947 GB, free: 95.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003128/0.7228, allocations: 2.302 MB / 0.5969 GB, free: 94.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04099/0.7638, allocations: 12.04 MB / 0.6087 GB, free: 91.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.7639, allocations: 0 / 0.6087 GB, free: 91.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01142/0.7753, allocations: 6.533 MB / 0.615 GB, free: 86.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.7754, allocations: 11.94 kB / 0.615 GB, free: 86.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.7754, allocations: 4 kB / 0.6151 GB, free: 86.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004838/0.7803, allocations: 1.856 MB / 0.6169 GB, free: 84.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003876/0.7842, allocations: 0.7998 MB / 0.6176 GB, free: 83.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03768/0.8219, allocations: 76.34 MB / 0.6922 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003422/0.8253, allocations: 143.8 kB / 0.6923 GB, free: 488 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004429/0.8258, allocations: 112 kB / 0.6924 GB, free: 376 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/jenkins/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