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.001259/0.001259, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001389/0.001389, allocations: 207.9 kB / 23.73 MB, free: 4.391 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.441/1.441, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2314/0.2314, allocations: 46.95 MB / 360.8 MB, free: 3.902 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.002771/0.002771, allocations: 83.86 kB / 0.4962 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3458, allocations: 66.08 MB / 0.5607 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6447/0.9905, allocations: 324.1 MB / 0.8773 GB, free: 468 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1396/1.13, allocations: 95.54 MB / 0.9706 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01148/1.142, allocations: 428.1 kB / 0.971 GB, free: 236 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01746/1.159, allocations: 4.679 MB / 0.9755 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0556/1.215, allocations: 18.4 MB / 0.9935 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.5398/1.754, allocations: 26.45 MB / 1.019 GB, free: 21.49 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.04268/1.797, allocations: 34.69 MB / 1.053 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01587/1.813, allocations: 6.745 MB / 1.06 GB, free: 37.1 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4151/2.228, allocations: 198.1 MB / 1.253 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1431/2.371, allocations: 68.82 MB / 1.32 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.006445/2.378, allocations: 1.156 MB / 1.322 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03584/2.413, allocations: 11.31 MB / 1.333 GB, free: 10.87 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01152/2.425, allocations: 5.842 MB / 1.338 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.9303/3.355, allocations: 7.028 MB / 1.345 GB, free: 183 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.05288/3.408, allocations: 27.98 MB / 1.373 GB, free: 181.4 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/3.408, allocations: 2.875 kB / 1.373 GB, free: 181.4 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/3.408, allocations: 0 / 1.373 GB, free: 181.4 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0008999/3.409, allocations: 0 / 1.373 GB, free: 181.4 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.06501/3.474, allocations: 17.95 MB / 1.39 GB, free: 175.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/3.474, allocations: 9.656 kB / 1.39 GB, free: 175.5 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0115/3.486, allocations: 1.871 MB / 1.392 GB, free: 175.3 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03724/3.523, allocations: 4.586 MB / 1.396 GB, free: 174.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.024/3.547, allocations: 7.683 MB / 1.404 GB, free: 173 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002043/3.549, allocations: 1.21 MB / 1.405 GB, free: 173 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005878/3.555, allocations: 1.17 MB / 1.406 GB, free: 173 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07819/3.633, allocations: 28.44 MB / 1.434 GB, free: 165 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008161/3.634, allocations: 52 kB / 1.434 GB, free: 165 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006243/3.64, allocations: 0.5503 MB / 1.435 GB, free: 165 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001767/3.642, allocations: 1.518 MB / 1.436 GB, free: 164.9 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05953/3.701, allocations: 22.45 MB / 1.458 GB, free: 164.8 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.1271/3.828, allocations: 75.96 MB / 1.532 GB, free: 111.4 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03968/3.868, allocations: 14.38 MB / 1.546 GB, free: 100.7 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01453/3.882, allocations: 5.85 MB / 1.552 GB, free: 95.51 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03039/3.913, allocations: 8.854 MB / 1.561 GB, free: 86.69 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/3.913, allocations: 172.8 kB / 1.561 GB, free: 86.53 MB / 0.92 GB Notification: Performance of pre-optimization done (n=798): time 1.941e-05/3.913, allocations: 0 / 1.561 GB, free: 86.53 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.755881510209292] 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.118168426211923 4.131838105 0.720301417 Calling exit ...