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.001162/0.001162, allocations: 106.2 kB / 16.41 MB, free: 6.5 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.00109/0.00109, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.273/1.273, 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.09006/0.09006, allocations: 22.33 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.91 kB / 437.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09311/0.09446, allocations: 54.95 MB / 492.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.0116/0.1061, allocations: 11.56 MB / 0.4924 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00621/0.1124, allocations: 3.168 MB / 0.4955 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.1141, allocations: 67.62 kB / 0.4956 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.1156, allocations: 0.5151 MB / 0.4961 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.119, allocations: 1.308 MB / 0.4974 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.1211, allocations: 0.9246 MB / 0.4983 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.206/0.3271, allocations: 6.101 MB / 0.5042 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005664/0.3328, allocations: 4.718 MB / 0.5088 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004397/0.3373, allocations: 2.476 MB / 0.5112 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005094/0.3424, allocations: 2.756 MB / 0.5139 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002292/0.3447, allocations: 0.7246 MB / 0.5146 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.3476, allocations: 0.7277 MB / 0.5154 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002933/0.3505, allocations: 1.877 MB / 0.5172 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006355/0.3569, allocations: 2.717 MB / 0.5198 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009123/0.366, allocations: 8.074 MB / 0.5277 GB, free: 1.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3661, allocations: 0 / 0.5277 GB, free: 1.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.3661, allocations: 0 / 0.5277 GB, free: 1.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002323/0.3663, allocations: 0 / 0.5277 GB, free: 1.941 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.01512/0.3815, allocations: 4.841 MB / 0.5325 GB, free: 14.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3815, allocations: 9.156 kB / 0.5325 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.3829, allocations: 415.3 kB / 0.5329 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004571/0.3875, allocations: 2.37 MB / 0.5352 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/0.3878, allocations: 276.8 kB / 0.5354 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00109/0.3889, allocations: 361.2 kB / 0.5358 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009644/0.3985, allocations: 4.37 MB / 0.54 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.588e-05/0.3986, allocations: 0 / 0.54 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004291/0.3991, allocations: 129.3 kB / 0.5402 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.265e-05/0.3991, allocations: 83.81 kB / 0.5403 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008677/0.4078, allocations: 4.008 MB / 0.5442 GB, free: 6.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.035/0.4428, allocations: 20.07 MB / 0.5638 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.4549, allocations: 5.597 MB / 0.5692 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003935/0.4589, allocations: 2.177 MB / 0.5714 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.4591, allocations: 45.56 kB / 0.5714 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.4591, allocations: 60.75 kB / 0.5715 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001809/0.4609, allocations: 258.8 kB / 0.5717 GB, free: 9.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=277): time 4.749e-06/0.461, allocations: 4 kB / 0.5717 GB, free: 9.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=279): time 0.03209/0.493, allocations: 16.92 MB / 0.5882 GB, free: 7.762 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.4931, allocations: 84.98 kB / 0.5883 GB, free: 7.668 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.4957, allocations: 1.706 MB / 0.59 GB, free: 5.918 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006929/0.4964, allocations: 69.7 kB / 0.5901 GB, free: 5.844 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009254/0.4974, allocations: 1.296 MB / 0.5913 GB, free: 4.535 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001579/0.499, allocations: 1.048 MB / 0.5923 GB, free: 3.492 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/0.5, allocations: 0.5107 MB / 0.5928 GB, free: 2.973 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.5002, allocations: 305.1 kB / 0.5931 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/0.5036, allocations: 2.188 MB / 0.5953 GB, free: 480 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003529/0.5072, allocations: 2.299 MB / 0.5975 GB, free: 14.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04291/0.5501, allocations: 12.04 MB / 0.6093 GB, free: 2.016 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.5501, allocations: 12 kB / 0.6093 GB, free: 2.004 MB / 462.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01364/0.5638, allocations: 6.527 MB / 0.6157 GB, free: 11.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.5639, allocations: 11.98 kB / 0.6157 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.5639, allocations: 0 / 0.6157 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005784/0.5697, allocations: 1.865 MB / 0.6175 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004464/0.5742, allocations: 0.7997 MB / 0.6183 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05476/0.629, allocations: 76.34 MB / 0.6928 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/0.6321, allocations: 135.9 kB / 0.6929 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004916/0.6326, allocations: 105.3 kB / 0.693 GB, free: 5.172 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