Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001634/0.001634, allocations: 108.3 kB / 20.48 MB, free: 0.9805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001613/0.001613, allocations: 218.7 kB / 23.78 MB, free: 4.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.5 MB / 257.5 MB, free: 7.699 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2367/0.2367, allocations: 46.95 MB / 360.9 MB, free: 3.879 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 83.81 kB / 0.4963 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3186, allocations: 66.08 MB / 0.5608 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6631/0.9817, allocations: 324.2 MB / 0.8774 GB, free: 432 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.155/1.137, allocations: 95.54 MB / 0.9707 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01174/1.148, allocations: 428.1 kB / 0.9711 GB, free: 200 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0179/1.166, allocations: 4.671 MB / 0.9756 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.05141/1.218, allocations: 18.41 MB / 0.9936 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.4924/1.71, allocations: 26.43 MB / 1.019 GB, free: 21.47 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.03803/1.748, allocations: 34.7 MB / 1.053 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01494/1.763, allocations: 6.747 MB / 1.06 GB, free: 37.07 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4733/2.236, allocations: 198.6 MB / 1.254 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.166/2.402, allocations: 68.97 MB / 1.321 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.007859/2.41, allocations: 1.152 MB / 1.322 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03646/2.447, allocations: 11.33 MB / 1.333 GB, free: 10.17 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01321/2.46, allocations: 5.824 MB / 1.339 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.8459/3.306, allocations: 7.028 MB / 1.346 GB, free: 183.6 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.06208/3.368, allocations: 27.99 MB / 1.373 GB, free: 182.1 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/3.368, allocations: 2.781 kB / 1.373 GB, free: 182.1 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.963e-06/3.368, allocations: 2.625 kB / 1.373 GB, free: 182.1 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.001105/3.369, allocations: 0 / 1.373 GB, free: 182.1 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3720 * Number of variables: 3720 Notification: Performance of Generate backend data structure: time 0.07021/3.439, allocations: 17.95 MB / 1.391 GB, free: 176.1 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/3.439, allocations: 11.84 kB / 1.391 GB, free: 176.1 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01052/3.45, allocations: 1.873 MB / 1.393 GB, free: 176 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04128/3.491, allocations: 4.586 MB / 1.397 GB, free: 175.1 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02451/3.516, allocations: 7.681 MB / 1.405 GB, free: 173.7 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002132/3.518, allocations: 1.208 MB / 1.406 GB, free: 173.6 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006566/3.524, allocations: 1.168 MB / 1.407 GB, free: 173.6 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07557/3.6, allocations: 28.44 MB / 1.435 GB, free: 165.6 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006373/3.601, allocations: 52.38 kB / 1.435 GB, free: 165.6 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005908/3.606, allocations: 0.5542 MB / 1.435 GB, free: 165.6 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001749/3.608, allocations: 1.513 MB / 1.437 GB, free: 165.6 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05637/3.665, allocations: 22.45 MB / 1.459 GB, free: 165.4 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1661/3.831, allocations: 75.97 MB / 1.533 GB, free: 111.8 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03752/3.868, allocations: 14.39 MB / 1.547 GB, free: 101.1 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01325/3.881, allocations: 5.842 MB / 1.553 GB, free: 95.45 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02928/3.911, allocations: 8.861 MB / 1.561 GB, free: 86.62 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/3.911, allocations: 167.5 kB / 1.561 GB, free: 86.47 MB / 0.92 GB Notification: Performance of pre-optimization done (n=798): time 1.212e-05/3.911, allocations: 0 / 1.561 GB, free: 86.47 MB / 0.92 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_B4.mediums[2].h 2: pipeAV_B4.mediums[1].h 3: pipeAV_B4.mediums[3].h 4: pipeAV_B4.mediums[4].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_B2.mediums[2].h 2: pipeAV_B2.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_B3.mediums[2].h 2: pipeAV_B3.mediums[1].h 3: pipeAV_B3.mediums[3].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_VB4.mediums[1].h 2: pipeA_VB4.mediums[3].h 3: pipeA_VB4.mediums[2].h 4: pipeA_VB4.mediums[4].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_VB2.mediums[2].h 2: pipeA_VB2.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_VB3.mediums[2].h 2: pipeA_VB3.mediums[3].h 3: pipeA_VB3.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_VB4.mediums[1].h 2: pipeAV_VB4.mediums[2].h 3: pipeAV_VB4.mediums[3].h 4: pipeAV_VB4.mediums[4].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_VB2.mediums[2].h 2: pipeAV_VB2.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_VB3.mediums[2].h 2: pipeAV_VB3.mediums[1].h 3: pipeAV_VB3.mediums[3].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_V_B4.mediums[1].h 2: pipeA_V_B4.mediums[3].h 3: pipeA_V_B4.mediums[2].h 4: pipeA_V_B4.mediums[4].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_V_B2.mediums[2].h 2: pipeA_V_B2.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_V_B3.mediums[1].h 2: pipeA_V_B3.mediums[2].h 3: pipeA_V_B3.mediums[3].h Please use -d=bltdump for more information. Internal error: BackendDAEEXT.setAssignment failed because m=95>91=arrayLength(ass2) Error: Internal error It is not possible to select continuous time states because Number of Equations 8 greater than number of States 0 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.817389608011581] Failed to read output from testmodel.py, exit status != 0: ['time', 'pipeAV_B2.state_a.h', 'pipeAV_B2.state_b.h', 'pipeAV_B3.state_a.h', 'pipeAV_B3.state_b.h', 'pipeAV_B4.state_a.h', 'pipeAV_B4.state_b.h', 'pipeA_VB2.state_a.h', 'pipeA_VB2.state_b.h', 'pipeA_VB3.state_a.h', 'pipeA_VB3.state_b.h', 'pipeA_VB4.state_a.h', 'pipeA_VB4.state_b.h', 'pipeAV_VB2.state_a.h', 'pipeAV_VB2.state_b.h', 'pipeAV_VB3.state_a.h', 'pipeAV_VB3.state_b.h', 'pipeAV_VB4.state_a.h', 'pipeAV_VB4.state_b.h', 'pipeA_V_B2.state_a.h', 'pipeA_V_B2.state_b.h', 'pipeA_V_B3.state_a.h', 'pipeA_V_B3.state_b.h', 'pipeA_V_B4.state_a.h', 'pipeA_V_B4.state_b.h'] 4.112864496011753 4.123973388 0.753150191 Calling exit ...