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.005905/0.005905, allocations: 103.7 kB / 15.73 MB, free: 5.996 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.001371/0.001372, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2042/0.2042, allocations: 22.35 MB / 312.9 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 66.5 kB / 437.1 MB, free: 33.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.13, allocations: 54.97 MB / 492 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.01026/0.1403, allocations: 11.57 MB / 0.4918 GB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006037/0.1464, allocations: 3.168 MB / 0.4949 GB, free: 2.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.1483, allocations: 59.62 kB / 0.495 GB, free: 2.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.1495, allocations: 0.5229 MB / 0.4955 GB, free: 1.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.1525, allocations: 1.3 MB / 0.4967 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.1543, allocations: 0.9208 MB / 0.4976 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007661/0.162, allocations: 6.107 MB / 0.5036 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005644/0.1677, allocations: 4.723 MB / 0.5082 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005706/0.1734, allocations: 2.478 MB / 0.5106 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005987/0.1795, allocations: 2.753 MB / 0.5133 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002261/0.1817, allocations: 0.7266 MB / 0.514 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.1842, allocations: 0.7266 MB / 0.5147 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002007/0.1862, allocations: 1.879 MB / 0.5166 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004292/0.1906, allocations: 2.72 MB / 0.5192 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008066/0.1986, allocations: 8.064 MB / 0.5271 GB, free: 1.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1987, allocations: 0 / 0.5271 GB, free: 1.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1987, allocations: 0 / 0.5271 GB, free: 1.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001968/0.1989, allocations: 0 / 0.5271 GB, free: 1.293 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.01349/0.2124, allocations: 4.83 MB / 0.5318 GB, free: 12.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.2124, allocations: 12.03 kB / 0.5318 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000852/0.2133, allocations: 416.1 kB / 0.5322 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/0.2171, allocations: 2.375 MB / 0.5346 GB, free: 9.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.2173, allocations: 280.9 kB / 0.5348 GB, free: 9.262 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006608/0.218, allocations: 360.1 kB / 0.5352 GB, free: 8.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008211/0.2262, allocations: 4.368 MB / 0.5394 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.759e-05/0.2263, allocations: 0 / 0.5394 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000337/0.2267, allocations: 136 kB / 0.5396 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-05/0.2267, allocations: 80 kB / 0.5396 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006751/0.2335, allocations: 4 MB / 0.5435 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03135/0.2648, allocations: 20.08 MB / 0.5632 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.2759, allocations: 5.598 MB / 0.5686 GB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005721/0.2817, allocations: 2.169 MB / 0.5707 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003347/0.282, allocations: 46.23 kB / 0.5708 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.45e-05/0.2821, allocations: 64.67 kB / 0.5708 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002441/0.2846, allocations: 262 kB / 0.5711 GB, free: 2.781 MB / 446.1 MB Notification: Performance of pre-optimization done (n=277): time 7.243e-06/0.2846, allocations: 3.938 kB / 0.5711 GB, free: 2.777 MB / 446.1 MB Notification: Performance of matching and sorting (n=279): time 0.04747/0.3321, allocations: 16.92 MB / 0.5876 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.3322, allocations: 81.61 kB / 0.5877 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3672/0.6994, allocations: 1.706 MB / 0.5894 GB, free: 98.06 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001063/0.7005, allocations: 69.89 kB / 0.5894 GB, free: 98.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.7016, allocations: 1.301 MB / 0.5907 GB, free: 97.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001602/0.7032, allocations: 1.049 MB / 0.5917 GB, free: 97.31 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009865/0.7042, allocations: 0.5104 MB / 0.5922 GB, free: 97.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.7043, allocations: 309.1 kB / 0.5925 GB, free: 96.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/0.7073, allocations: 2.176 MB / 0.5946 GB, free: 95.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003133/0.7104, allocations: 2.307 MB / 0.5969 GB, free: 94.76 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03954/0.75, allocations: 12.03 MB / 0.6087 GB, free: 91.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.75, allocations: 0 / 0.6087 GB, free: 91.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01105/0.7611, allocations: 6.538 MB / 0.615 GB, free: 86.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.7611, allocations: 7.938 kB / 0.615 GB, free: 86.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.7612, allocations: 4 kB / 0.615 GB, free: 86.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004816/0.766, allocations: 1.864 MB / 0.6169 GB, free: 84.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004226/0.7702, allocations: 0.7997 MB / 0.6176 GB, free: 83.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03804/0.8083, allocations: 76.34 MB / 0.6922 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/0.8116, allocations: 143.7 kB / 0.6923 GB, free: 492 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004798/0.8121, allocations: 112 kB / 0.6924 GB, free: 380 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