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.001303/0.001303, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001458/0.001458, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.416/1.416, allocations: 230.5 MB / 258.2 MB, free: 7.75 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.2301/0.2301, allocations: 46.95 MB / 361.6 MB, free: 3.938 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 83.88 kB / 0.4969 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.324, allocations: 66.08 MB / 0.5615 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6669/0.9909, allocations: 323.8 MB / 0.8777 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1467/1.138, allocations: 95.4 MB / 0.9709 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01154/1.149, allocations: 420.2 kB / 0.9713 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01725/1.166, allocations: 4.683 MB / 0.9758 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.05439/1.221, allocations: 18.44 MB / 0.9939 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.4988/1.72, allocations: 26.75 MB / 1.02 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.04584/1.765, allocations: 34.86 MB / 1.054 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0155/1.781, allocations: 6.515 MB / 1.06 GB, free: 36.91 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4484/2.229, allocations: 198.1 MB / 1.254 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1565/2.386, allocations: 68.8 MB / 1.321 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.007119/2.393, allocations: 1.156 MB / 1.322 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03617/2.429, allocations: 11.68 MB / 1.334 GB, free: 10.42 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01176/2.441, allocations: 5.835 MB / 1.339 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.8914/3.332, allocations: 7.025 MB / 1.346 GB, free: 183 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.06169/3.394, allocations: 27.98 MB / 1.373 GB, free: 181.4 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/3.394, allocations: 3.969 kB / 1.373 GB, free: 181.4 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.913e-06/3.394, allocations: 0 / 1.373 GB, free: 181.4 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.001183/3.395, 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.06998/3.465, allocations: 17.96 MB / 1.391 GB, free: 175.4 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/3.465, allocations: 8.594 kB / 1.391 GB, free: 175.4 MB / 0.92 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004649/3.465, allocations: 339.8 kB / 1.391 GB, free: 175.4 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008898/3.474, allocations: 1.869 MB / 1.393 GB, free: 175.3 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03699/3.511, allocations: 4.586 MB / 1.398 GB, free: 174.4 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02169/3.533, allocations: 7.68 MB / 1.405 GB, free: 173 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00202/3.535, allocations: 1.209 MB / 1.406 GB, free: 172.9 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006699/3.542, allocations: 1.17 MB / 1.407 GB, free: 172.9 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07026/3.612, allocations: 28.44 MB / 1.435 GB, free: 164.9 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00053/3.613, allocations: 51.81 kB / 1.435 GB, free: 164.9 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005242/3.618, allocations: 0.5568 MB / 1.436 GB, free: 164.9 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00175/3.62, allocations: 1.511 MB / 1.437 GB, free: 164.9 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05535/3.675, allocations: 22.55 MB / 1.459 GB, free: 164.7 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.1139/3.789, allocations: 75.96 MB / 1.533 GB, free: 110.9 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0346/3.823, allocations: 14.38 MB / 1.548 GB, free: 100.2 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01276/3.836, allocations: 5.846 MB / 1.553 GB, free: 94.91 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0265/3.863, allocations: 8.855 MB / 1.562 GB, free: 86.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/3.863, allocations: 172 kB / 1.562 GB, free: 85.93 MB / 0.92 GB Notification: Performance of pre-optimization done (n=798): time 1.331e-05/3.863, allocations: 6.625 kB / 1.562 GB, free: 85.93 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.62221762095578] 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.05289299308788 4.062838223 0.666421735 Calling exit ...