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.001361/0.001361, allocations: 104 kB / 16.35 MB, free: 5.824 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.001435/0.001435, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09292/0.09292, allocations: 22.34 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001252, allocations: 65.98 kB / 382.2 MB, free: 40.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.09718, allocations: 54.95 MB / 437.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.01117/0.1084, allocations: 11.57 MB / 448.8 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006183/0.1146, allocations: 3.172 MB / 451.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.1165, allocations: 63.62 kB / 452 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.1177, allocations: 0.5151 MB / 452.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.1207, allocations: 1.308 MB / 453.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.1226, allocations: 0.9169 MB / 454.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006593/0.1292, allocations: 6.103 MB / 460.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005712/0.135, allocations: 4.719 MB / 465.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004731/0.1398, allocations: 2.431 MB / 468 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004608/0.1444, allocations: 2.765 MB / 470.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001477/0.1459, allocations: 0.7227 MB / 471.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.1473, allocations: 0.7305 MB / 472.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.1488, allocations: 1.867 MB / 474.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004059/0.1529, allocations: 2.713 MB / 476.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006379/0.1593, allocations: 8.075 MB / 484.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1593, allocations: 0 / 484.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1593, allocations: 0 / 484.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001323/0.1595, allocations: 0 / 484.9 MB, free: 12.37 MB / 366.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.01156/0.171, allocations: 4.826 MB / 489.7 MB, free: 7.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1711, allocations: 16.02 kB / 489.7 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008247/0.1719, allocations: 420 kB / 490.1 MB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004067/0.176, allocations: 2.371 MB / 492.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.1762, allocations: 280.9 kB / 492.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006529/0.1769, allocations: 364 kB / 493.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007686/0.1846, allocations: 4.364 MB / 497.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.624e-05/0.1847, allocations: 4 kB / 497.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003614/0.185, allocations: 139.9 kB / 497.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.63e-05/0.1851, allocations: 80 kB / 497.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006883/0.192, allocations: 3.997 MB / 0.4899 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2309/0.423, allocations: 20.08 MB / 0.5095 GB, free: 56.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01646/0.4395, allocations: 5.594 MB / 0.515 GB, free: 56.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005931/0.4454, allocations: 2.173 MB / 0.5171 GB, free: 56.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/0.4458, allocations: 46.25 kB / 0.5172 GB, free: 56.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/0.4459, allocations: 65.72 kB / 0.5172 GB, free: 56.41 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002271/0.4481, allocations: 262.1 kB / 0.5175 GB, free: 56.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=277): time 9.869e-06/0.4482, allocations: 0 / 0.5175 GB, free: 56.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=279): time 0.03861/0.4868, allocations: 16.93 MB / 0.534 GB, free: 45.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.4869, allocations: 79.05 kB / 0.5341 GB, free: 45.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.4891, allocations: 1.705 MB / 0.5358 GB, free: 44.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005399/0.4896, allocations: 71.48 kB / 0.5358 GB, free: 44.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006219/0.4903, allocations: 1.296 MB / 0.5371 GB, free: 43.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009476/0.4912, allocations: 1.052 MB / 0.5381 GB, free: 42.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008911/0.4921, allocations: 0.513 MB / 0.5386 GB, free: 42.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.4922, allocations: 308.6 kB / 0.5389 GB, free: 42.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002891/0.4951, allocations: 2.18 MB / 0.541 GB, free: 40.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002813/0.4979, allocations: 2.299 MB / 0.5433 GB, free: 38.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03677/0.5347, allocations: 12.04 MB / 0.555 GB, free: 26.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.5347, allocations: 0 / 0.555 GB, free: 26.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01114/0.5459, allocations: 6.538 MB / 0.5614 GB, free: 19.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.5459, allocations: 4 kB / 0.5614 GB, free: 19.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.546, allocations: 4 kB / 0.5614 GB, free: 19.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004848/0.5508, allocations: 1.863 MB / 0.5632 GB, free: 17.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004172/0.555, allocations: 0.803 MB / 0.564 GB, free: 16.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05006/0.6051, allocations: 76.35 MB / 0.6386 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/0.6084, allocations: 135.9 kB / 0.6387 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006049/0.6091, allocations: 108 kB / 0.6388 GB, free: 13.29 MB / 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