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: "" <> buildModelFMU(AES.Devel_test_models.Test_substation_001,fileNamePrefix="AES_AES_Devel_test_models_Test_substation_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_substation_001,fileNamePrefix="AES_AES_Devel_test_models_Test_substation_001",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 188.3 kB / 16.62 MB, free: 6.613 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.384/1.384, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2065/0.2065, allocations: 22.37 MB / 312.9 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001999, allocations: 55.91 kB / 381.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3318, allocations: 54.95 MB / 436.1 MB, free: 39.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.009562/0.3414, allocations: 11.56 MB / 447.6 MB, free: 31.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007774/0.3492, allocations: 3.17 MB / 450.8 MB, free: 29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002464/0.3517, allocations: 63.91 kB / 450.9 MB, free: 28.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.3527, allocations: 0.5141 MB / 451.4 MB, free: 28.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.356, allocations: 1.315 MB / 452.7 MB, free: 27.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.358, allocations: 0.9198 MB / 453.6 MB, free: 27.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00724/0.3653, allocations: 6.102 MB / 459.7 MB, free: 24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006173/0.3715, allocations: 4.719 MB / 464.4 MB, free: 21.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006042/0.3776, allocations: 2.43 MB / 466.9 MB, free: 20.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007067/0.3847, allocations: 2.758 MB / 469.6 MB, free: 19.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003821/0.3885, allocations: 0.7244 MB / 470.3 MB, free: 19.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004289/0.3928, allocations: 0.7277 MB / 471.1 MB, free: 19.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004636/0.3975, allocations: 1.881 MB / 472.9 MB, free: 18.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00981/0.4074, allocations: 2.712 MB / 475.7 MB, free: 16.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01651/0.4239, allocations: 8.072 MB / 483.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.424, allocations: 5.188 kB / 483.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.424, allocations: 0 / 483.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002819/0.4243, allocations: 0 / 483.7 MB, free: 12.12 MB / 350.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.02574/0.4501, allocations: 4.831 MB / 488.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001114/0.4502, allocations: 9.844 kB / 488.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003036/0.4533, allocations: 463.1 kB / 489 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002935/0.4562, allocations: 420 kB / 489.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007154/0.4634, allocations: 2.371 MB / 491.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/0.4637, allocations: 276.8 kB / 492.1 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/0.465, allocations: 368 kB / 492.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.477, allocations: 4.364 MB / 496.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.91e-05/0.4771, allocations: 0 / 496.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000533/0.4776, allocations: 136 kB / 496.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-05/0.4777, allocations: 80 kB / 497 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.4911, allocations: 3.997 MB / 0.4893 GB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05052/0.5416, allocations: 20.1 MB / 0.5089 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/0.5577, allocations: 5.595 MB / 0.5144 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004725/0.5624, allocations: 2.18 MB / 0.5165 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003526/0.5628, allocations: 42.16 kB / 0.5165 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.651e-05/0.5629, allocations: 64.75 kB / 0.5166 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002467/0.5654, allocations: 250.2 kB / 0.5168 GB, free: 15.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=277): time 1.024e-05/0.5654, allocations: 0 / 0.5168 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=279): time 0.03795/0.6033, allocations: 16.93 MB / 0.5334 GB, free: 12.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/0.6035, allocations: 85.61 kB / 0.5334 GB, free: 12.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003635/0.6071, allocations: 1.698 MB / 0.5351 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007938/0.6079, allocations: 73.7 kB / 0.5352 GB, free: 10.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.609, allocations: 1.3 MB / 0.5364 GB, free: 9.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001938/0.611, allocations: 1.047 MB / 0.5375 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002214/0.6132, allocations: 0.5108 MB / 0.538 GB, free: 8.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6133, allocations: 305.1 kB / 0.5383 GB, free: 7.773 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00409/0.6174, allocations: 2.191 MB / 0.5404 GB, free: 5.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004227/0.6217, allocations: 2.303 MB / 0.5426 GB, free: 3.219 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04555/0.6672, allocations: 12.03 MB / 0.5544 GB, free: 7.094 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.6673, allocations: 0 / 0.5544 GB, free: 7.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01729/0.6846, allocations: 6.532 MB / 0.5608 GB, free: 388 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.6847, allocations: 4 kB / 0.5608 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.6847, allocations: 4 kB / 0.5608 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006513/0.6912, allocations: 1.864 MB / 0.5626 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00467/0.6959, allocations: 0.7998 MB / 0.5634 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2911/0.987, allocations: 76.35 MB / 0.6379 GB, free: 57.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003724/0.9908, allocations: 133.8 kB / 0.6381 GB, free: 57.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000616/0.9914, allocations: 106.7 kB / 0.6382 GB, free: 57.77 MB / 446.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