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.00111/0.00111, allocations: 112.4 kB / 16.37 MB, free: 6.469 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.001155/0.001155, allocations: 190 kB / 17.31 MB, free: 5.828 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0918/0.0918, allocations: 22.33 MB / 313.5 MB, free: 8.941 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.83 kB / 382.2 MB, free: 41.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/0.09211, allocations: 54.96 MB / 437.2 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.01315/0.1053, allocations: 11.56 MB / 448.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008563/0.1139, allocations: 3.176 MB / 451.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/0.1167, allocations: 67.62 kB / 452 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.1179, allocations: 0.5112 MB / 452.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003137/0.1211, allocations: 1.308 MB / 453.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.1231, allocations: 0.9169 MB / 454.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007233/0.1304, allocations: 6.096 MB / 460.8 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005351/0.1357, allocations: 4.731 MB / 465.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/0.1396, allocations: 2.427 MB / 468 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004001/0.1436, allocations: 2.757 MB / 470.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.1447, allocations: 0.7227 MB / 471.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.1458, allocations: 0.7305 MB / 472.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001403/0.1472, allocations: 1.882 MB / 474.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00312/0.1503, allocations: 2.709 MB / 476.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006508/0.1568, allocations: 8.068 MB / 484.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1569, allocations: 4 kB / 484.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.1569, allocations: 0 / 484.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001591/0.157, allocations: 7.922 kB / 484.9 MB, free: 12.45 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.01221/0.1693, allocations: 4.826 MB / 489.7 MB, free: 7.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.1693, allocations: 8.031 kB / 489.7 MB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000822/0.1702, allocations: 427.9 kB / 490.1 MB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/0.1742, allocations: 2.367 MB / 492.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.1744, allocations: 276.9 kB / 492.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006263/0.175, allocations: 368 kB / 493.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007315/0.1824, allocations: 4.368 MB / 497.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.238e-05/0.1824, allocations: 0 / 497.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003392/0.1828, allocations: 128 kB / 497.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.365e-05/0.1828, allocations: 84 kB / 497.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006915/0.1898, allocations: 4.004 MB / 0.4899 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2449/0.4347, allocations: 20.08 MB / 0.5096 GB, free: 56.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01348/0.4482, allocations: 5.596 MB / 0.515 GB, free: 56.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003503/0.4518, allocations: 2.172 MB / 0.5171 GB, free: 56.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.452, allocations: 43.78 kB / 0.5172 GB, free: 56.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.4521, allocations: 70.92 kB / 0.5172 GB, free: 56.55 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001534/0.4536, allocations: 247.3 kB / 0.5175 GB, free: 56.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=277): time 6.352e-06/0.4536, allocations: 0 / 0.5175 GB, free: 56.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=279): time 0.02596/0.4796, allocations: 16.93 MB / 0.534 GB, free: 45.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.4797, allocations: 84.88 kB / 0.5341 GB, free: 45.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.4817, allocations: 1.706 MB / 0.5358 GB, free: 44.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000403/0.4821, allocations: 68.7 kB / 0.5358 GB, free: 44.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006055/0.4827, allocations: 1.291 MB / 0.5371 GB, free: 43.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008102/0.4835, allocations: 1.055 MB / 0.5381 GB, free: 42.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008408/0.4844, allocations: 0.5119 MB / 0.5386 GB, free: 42.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.625e-05/0.4844, allocations: 303.1 kB / 0.5389 GB, free: 42.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/0.4871, allocations: 2.184 MB / 0.541 GB, free: 40.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00278/0.4899, allocations: 2.305 MB / 0.5433 GB, free: 38.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03472/0.5246, allocations: 12.03 MB / 0.555 GB, free: 26.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.5246, allocations: 4 kB / 0.555 GB, free: 26.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01035/0.535, allocations: 6.533 MB / 0.5614 GB, free: 19.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.535, allocations: 8 kB / 0.5614 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.535, allocations: 4 kB / 0.5614 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004758/0.5398, allocations: 1.864 MB / 0.5633 GB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00368/0.5435, allocations: 0.8015 MB / 0.564 GB, free: 17.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05245/0.596, allocations: 76.34 MB / 0.6386 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/0.5995, allocations: 143.8 kB / 0.6387 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004178/0.5999, allocations: 99.97 kB / 0.6388 GB, free: 13.45 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